author | Eric Blake <ebb9@byu.net> | |
Fri, 15 Aug 2008 15:01:03 +0000 (15:01 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 16 Aug 2008 09:34:23 +0000 (02:34 -0700) | ||
commit | 0d768f7c8f1b38ba14bbd5a2dfc4d56ae5eb4ad8 | |
tree | bb8aead84b7956b9d59f757780035ffef93b0e3d | tree | snapshot |
parent | cb3a160d604866331fdb0f5078face4ab2a4b49a | commit | diff |
Makefile: building 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.
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.
Signed-off-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history |