[PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS

Subsystems: kernel build + files below scripts/ (unless maintained elsewhere), the rest

DORMANTno replies

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

[PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS

From: Sebastian Schuberth <hidden>
Date: 2016-06-15 23:03:44

We do this for BUILT_INS and REMOTE_CURL_ALIASES, so we should do so here,
too.

Signed-off-by: Sebastian Schuberth <redacted>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 21f23cb..d2849c3 100644
--- a/Makefile
+++ b/Makefile
@@ -2258,6 +2258,7 @@ endif
         $(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; \
     } && \
-- 
2.1.2-mingw-1

Re: [PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS

From: Kyle J. McKay <hidden>
Date: 2016-06-15 23:03:44

On Feb 5, 2015, at 07:52, Sebastian Schuberth wrote:
quoted hunk
We do this for BUILT_INS and REMOTE_CURL_ALIASES, so we should do so  
here,
too.

Signed-off-by: Sebastian Schuberth <redacted>
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 21f23cb..d2849c3 100644
--- a/Makefile
+++ b/Makefile
@@ -2258,6 +2258,7 @@ endif
        $(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 || \
Can we not start installing absolute path symlinks please.

-Kyle
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help