From c746cbbecfad228d1f93524e6de668faa5d5183e Mon Sep 17 00:00:00 2001 From: pelya Date: Mon, 20 Feb 2012 20:50:58 +0200 Subject: [PATCH] Another fix to my prev commit --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 5e5c00b1c..1ce557cb7 100755 --- a/build.sh +++ b/build.sh @@ -37,6 +37,6 @@ cd project && env PATH=$NDKBUILDPATH nice -n19 ndk-build V=1 -j4 && \ || true ; } && \ ant debug && \ test -z "$1" && cd bin && \ - adb install -r MainActivity-debug.apk | grep 'Failure' && \ - adb uninstall `grep AppFullName ../../AndroidAppSettings.cfg | sed 's/.*=//'` && adb install -r MainActivity-debug.apk && \ + { adb install -r MainActivity-debug.apk | grep 'Failure' && \ + adb uninstall `grep AppFullName ../../AndroidAppSettings.cfg | sed 's/.*=//'` && adb install -r MainActivity-debug.apk ; true ; } && \ adb shell am start -n `grep AppFullName ../../AndroidAppSettings.cfg | sed 's/.*=//'`/.MainActivity