summaryrefslogtreecommitdiff
path: root/standalone/android
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-01-05 12:57:54 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-01-05 12:57:54 -0400
commit9cbbbfbb00aedac8668b73eca68dac367165c553 (patch)
tree8ce3cd24df33bb1202e4eff7b7207c02ac5639e0 /standalone/android
parent787aa5019eaa82a4a9089056804ed0de4084b48d (diff)
fix cd issue
Diffstat (limited to 'standalone/android')
-rw-r--r--standalone/android/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/standalone/android/Makefile b/standalone/android/Makefile
index d787fe0ff..020303374 100644
--- a/standalone/android/Makefile
+++ b/standalone/android/Makefile
@@ -78,11 +78,12 @@ build: start
git rev-parse HEAD > $(GIT_ANNEX_ANDROID_SOURCETREE)/term/libs/armeabi/lib.version.so
cp ../trustedkeys.gpg $(GIT_ANNEX_ANDROID_SOURCETREE)/term/libs/armeabi/lib.trustedkeys.so
+ set -e; \
for v in 4.0 4.3 5.0; do \
mkdir -p ../../tmp/$$v; \
cp ../../tmp/androidtree/dist/build/git-annex/$$v/git-annex $(GIT_ANNEX_ANDROID_SOURCETREE)/term/libs/armeabi/lib.git-annex.so; \
arm-linux-androideabi-strip --strip-unneeded --remove-section=.comment --remove-section=.note $(GIT_ANNEX_ANDROID_SOURCETREE)/term/libs/armeabi/lib.git-annex.so; \
- cd $(GIT_ANNEX_ANDROID_SOURCETREE)/term && ant debug; \
+ (cd $(GIT_ANNEX_ANDROID_SOURCETREE)/term && ant debug); \
cp $(GIT_ANNEX_ANDROID_SOURCETREE)/term/bin/Term-debug.apk ../../tmp/$$v/git-annex.apk; \
done