don't continue with missing bin

We want the standalone builds to be complete and reproducible, so a missing
bin is an error.
This commit is contained in:
Joey Hess 2012-10-16 17:02:24 -04:00
parent 1da89079f2
commit 053e72cbfa

View file

@ -157,7 +157,7 @@ linuxstandalone:
zcat standalone/licences.gz > $(LINUXSTANDALONE_DEST)/LICENSE zcat standalone/licences.gz > $(LINUXSTANDALONE_DEST)/LICENSE
for bin in $(THIRDPARTY_BINS); do \ for bin in $(THIRDPARTY_BINS); do \
cp "$$(which "$$bin")" "$(LINUXSTANDALONE_DEST)/bin/" || echo "$$bin not available; skipping"; \ cp "$$(which "$$bin")" "$(LINUXSTANDALONE_DEST)/bin/"; \
done done
install -d "$(LINUXSTANDALONE_DEST)/git-core" install -d "$(LINUXSTANDALONE_DEST)/git-core"
@ -197,7 +197,7 @@ osxapp:
cp $(OSXAPP_BASE)/LICENSE $(GIT_ANNEX_TMP_BUILD_DIR)/build-dmg/LICENSE.txt cp $(OSXAPP_BASE)/LICENSE $(GIT_ANNEX_TMP_BUILD_DIR)/build-dmg/LICENSE.txt
for bin in $(THIRDPARTY_BINS); do \ for bin in $(THIRDPARTY_BINS); do \
cp "$$(which "$$bin")" "$(OSXAPP_BASE)/bin/" || echo "$$bin not available; skipping"; \ cp "$$(which "$$bin")" "$(OSXAPP_BASE)/bin/"; \
done done
install -d "$(OSXAPP_BASE)/git-core" install -d "$(OSXAPP_BASE)/git-core"