avoid installing git-annex from PATH to the webapp
This commit is contained in:
parent
4d4c5a60ee
commit
df1790b595
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -144,12 +144,14 @@ osxapp: $(bins)
|
|||
cp -R ui-macos/git-annex.app "$(OSXAPP_DEST)"
|
||||
|
||||
install -d "$(OSXAPP_BASE)/bin"
|
||||
for bin in git-annex $(THIRDPARTY_BINS); do \
|
||||
cp git-annex "$(OSXAPP_BASE)/bin/"
|
||||
strip "$(OSXAPP_BASE)/bin/git-annex"
|
||||
ln -sf git-annex "$(OSXAPP_BASE)/bin/git-annex-shell"
|
||||
|
||||
for bin in $(THIRDPARTY_BINS); do \
|
||||
cp "$$(which "$$bin")" "$(OSXAPP_BASE)/bin/" || echo "$$bin not available; skipping"; \
|
||||
done
|
||||
strip $(OSXAPP_BASE)/bin/git-annex
|
||||
|
||||
ln -sf git-annex "$(OSXAPP_BASE)/bin/git-annex-shell"
|
||||
install -d "$(OSXAPP_BASE)/git-core"
|
||||
(cd "$(shell git --exec-path)" && tar c .) | (cd "$(OSXAPP_BASE)"/git-core && tar x)
|
||||
|
||||
|
|
Loading…
Reference in a new issue