diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-27 11:44:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-27 11:44:40 -0400 |
commit | a45e03c8e92b3daad007444eb1055f09fce9de7e (patch) | |
tree | 4db5262b9200bbd6c4309e3d5210473e6abcf425 /Makefile | |
parent | fd6d6f409d4d105c645f0e7dd004c34027114762 (diff) |
avoid installing git-annex from PATH to the webapp
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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) |