git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS
@ 2015-02-05 15:52 Sebastian Schuberth
  2015-02-05 17:49 ` Kyle J. McKay
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Schuberth @ 2015-02-05 15:52 UTC (permalink / raw)
  To: Git Mailing List, Junio C Hamano; +Cc: Jeff King, Jonathan Nieder

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS
  2015-02-05 15:52 [PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS Sebastian Schuberth
@ 2015-02-05 17:49 ` Kyle J. McKay
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle J. McKay @ 2015-02-05 17:49 UTC (permalink / raw)
  To: Sebastian Schuberth
  Cc: Git Mailing List, Junio C Hamano, Jeff King, Jonathan Nieder

On Feb 5, 2015, at 07:52, Sebastian Schuberth wrote:
> 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 || \

Can we not start installing absolute path symlinks please.

-Kyle

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-05 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05 15:52 [PATCH 2/2] Makefile: Also add a symlink fallback to installing ALL_PROGRAMS Sebastian Schuberth
2015-02-05 17:49 ` Kyle J. McKay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).