Skip to content

makefile: honor DESTDIR for /bin/git target

Kevin requested to merge kdaudt/gitaly:makefile-git-destdir into master

When providing DESTDIR, the git binary ends up in ${DESTDIR}/${GIT_PREFIX}/. The Makefile target tries to touch ${GIT_PREFIX}bin/git, which will fail when this is run as a non-root user.

Merge request reports