diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-01-05 12:57:54 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-01-05 12:57:54 -0400 |
commit | 9cbbbfbb00aedac8668b73eca68dac367165c553 (patch) | |
tree | 8ce3cd24df33bb1202e4eff7b7207c02ac5639e0 /standalone/android/Makefile | |
parent | 787aa5019eaa82a4a9089056804ed0de4084b48d (diff) |
fix cd issue
Diffstat (limited to 'standalone/android/Makefile')
-rw-r--r-- | standalone/android/Makefile | 3 |
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 |