summaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2008-07-21 21:19:51 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-25 17:41:12 -0700
commit46beb55988e68da04c2e9d319c71b9b940f0854c (patch)
treea2fe605f891d14795ace2d04071b703973b10954 /daemon.c
parentc70a8d98a528f29bc6d6de7744e1eedd24f2a63d (diff)
downloadgit-46beb55988e68da04c2e9d319c71b9b940f0854c.tar.gz
Makefile: Normalize $(bindir) and $(gitexecdir) before comparing
The install target needs to check whether the user has opted to make $(gitexecdir) equal to $(bindir). It did so by a straight string comparison. Since we are going to allow a relative $(gitexecdir), we have to normalize paths before comparison, which we do with $(cd there && pwd). The normalized paths are stored in shell variables. These we can now reuse in the subsequent install statements, which conveniently shortens the lines a bit. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'daemon.c')
0 files changed, 0 insertions, 0 deletions