
This reverts commit2624f90796
, reversing changes made to37aab4cbb5
. See: https://github.com/NixOS/nixpkgs/pull/42376#issuecomment-399789096 Basically this breaks at least some users of fetchgit, so let's revert this until this is sorted out.
14 lines
487 B
Diff
14 lines
487 B
Diff
diff --git a/Makefile b/Makefile
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -2609,8 +2609,7 @@
|
|
{ test "$$bindir/" = "$$execdir/" || \
|
|
for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \
|
|
$(RM) "$$execdir/$$p" && \
|
|
- test -z "$(NO_INSTALL_HARDLINKS)$(NO_CROSS_DIRECTORY_HARDLINKS)" && \
|
|
- ln "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
|
|
+ ln -s "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
|
|
cp "$$bindir/$$p" "$$execdir/$$p" || exit; \
|
|
done; \
|
|
} && \
|