Fixed recompilation script

This commit is contained in:
pelya
2010-08-18 19:18:10 +03:00
parent f9dc02fc1f
commit 473c66bbac

View File

@@ -36,6 +36,7 @@ for APP1 in project/jni/application/*/AppSettings.cfg; do
echo Compiling $APP
OLDPATH="`pwd`"
( cd project && nice -n5 ndk-build -j2 V=1 && ant release && \
jarsigner -keystore "$KEYSTORE" -keypath "$PASSWORD" bin/DemoActivity-unsigned.apk $ALIAS && \
jarsigner -verbose -keystore "$KEYSTORE" -storepass "$PASSWORD" bin/DemoActivity-unsigned.apk $ALIAS && \
zipalign 4 bin/DemoActivity-unsigned.apk ../$APP.apk && cd .. ) || exit 1
exit 0
done