author | Eric Blake <ebb9@byu.net> | |
Tue, 28 Apr 2009 12:28:31 +0000 (06:28 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 28 Apr 2009 18:47:54 +0000 (11:47 -0700) | ||
commit | d4b190271549c0b3f036884092b973696a34ea3a | |
tree | a5573e63096f7d1c8d1057ad40ed484528745114 | tree | snapshot |
parent | b79376cdf3bd6ee922261776613d085a7b36ffd9 | commit | diff |
Makefile: installing git in cygwin 1.7.0
On platforms with $X, make removes any leftover scripts 'a' from
earlier builds if a new binary 'a.exe' is now built. However, on
cygwin 1.7.0, 'git' and 'git.exe' now consistently name the same file.
Test for file equality before attempting a remove, in order to avoid
nuking just-built binaries.
This repeats commit 0d768f7 for the installation destdir.
Signed-off-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
On platforms with $X, make removes any leftover scripts 'a' from
earlier builds if a new binary 'a.exe' is now built. However, on
cygwin 1.7.0, 'git' and 'git.exe' now consistently name the same file.
Test for file equality before attempting a remove, in order to avoid
nuking just-built binaries.
This repeats commit 0d768f7 for the installation destdir.
Signed-off-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history |