git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Feb 5, 2015, 15:52 UTC
Message-ID
<CAHGBnuPtzQeqNoHiwNoaH3j9OWXq-jopjwwdStS-0mnX_9mzww@mail.gmail.com>

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

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
---
 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
Next: Kyle J. McKay
Message 1 of 2 in “Makefile: Also add a symlink fallback to installing ALL_PROGRAMS”
  1. 2/2 Makefile: Also add a symlink fallback to installing ALL_PROGRAMSSebastian Schuberth, Feb 5, 2015
  2. Kyle J. McKayFeb 5, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.