Skip to content

Commit 973699a

Browse files
committed
Install git-remote-curl programs in bindir, too.
I need this to make the programs available in PATH when invoked from git in the build directory: the runtime prefix feature adds $builddir/libexec/git-core to the path, which does not exist.
1 parent fb55bed commit 973699a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3625,6 +3625,13 @@ endif
36253625
ln "$$execdir/git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
36263626
ln -s "git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
36273627
cp "$$execdir/git-remote-http$X" "$$execdir/$$p" || exit; } \
3628+
done && \
3629+
remote_curl_names="$(REMOTE_CURL_NAMES)" && \
3630+
for p in $$remote_curl_names; do \
3631+
$(RM) "$$bindir/$$p" && \
3632+
{ ln "$$execdir/$$p" "$$bindir/$$p" 2>/dev/null || \
3633+
ln -s "$$execdir/$$p" "$$bindir/$$p" 2>/dev/null || \
3634+
cp "$$execdir/$$p" "$$bindir/$$p" || exit; } \
36283635
done
36293636

36303637
.PHONY: install-doc install-man install-man-perl install-html install-info install-pdf

0 commit comments

Comments
 (0)