Do not try to remove directories when removing old links
commit1abf3a543677b83852b21f96d02a4baeebf49567
authorSebastian Schuberth <sschuberth@gmail.com>
Tue, 27 Oct 2009 11:13:05 +0000 (27 12:13 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 27 Oct 2009 16:08:17 +0000 (27 17:08 +0100)
tree0831bc99de1cb9a149a007dbb90b4828282639bf
parent7e9e93bc6764d65e26a5cb4f3fc6462c52ab075d
Do not try to remove directories when removing old links

When building Git with MSVC on Windows, directories named after the Git
alias are created for the output files, e.g. there is a
"git-merge-index" directory next to the "git-merge-index.exe" executable
in the build root. Previously, "make all" just checked if
"git-merge-index" and "git-merge-index.exe" are the same file, and if
not, tried to remove "git-merge-index". This fails in the case of
"git-merge-index" being a directory, which is why this is checked now.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Makefile