git/git-nohardlink.diff
OBS User autobuild dad6b21528 Accepting request 50188 from devel:tools:scm
Copy from devel:tools:scm/git based on submit request 50188 from user coolo

OBS-URL: https://build.opensuse.org/request/show/50188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=46
2010-10-11 12:44:17 +00:00

17 lines
467 B
Diff

don't use hardlinks as our .spec calls fdupes which converts the
hardlinks to symlinks again in an unpredicatable way
---
Makefile | 1 -
1 file changed, 1 deletion(-)
--- a/Makefile
+++ b/Makefile
@@ -2133,7 +2133,6 @@
done && \
for p in $(BUILT_INS); do \
$(RM) "$$execdir/$$p" && \
- ln "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \
ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \
cp "$$execdir/git$X" "$$execdir/$$p" || exit; \
done && \