refers to relative zipalign bin instead of path

This commit is contained in:
renaud gaudin 2013-04-13 22:09:34 +02:00
parent 3c686a346d
commit 763c5555a4

View File

@ -21,7 +21,7 @@ function die {
ant release || die "ant release error."
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore $CERTIFICATE bin/Kiwix-release-unsigned.apk kiwix || die "Error signing the package."
jarsigner -verify bin/Kiwix-release-unsigned.apk || die "The package is not properly signed."
zipalign -f -v 4 bin/Kiwix-release-unsigned.apk bin/kiwix-android.apk || die "Could not zipalign the signed package. Please check."
../src/dependencies/android-sdk/sdk/tools/zipalign -f -v 4 bin/Kiwix-release-unsigned.apk bin/kiwix-android.apk || die "Could not zipalign the signed package. Please check."
echo "[SUCCESS] Your signed release package is ready:"
ls -lh bin/kiwix-android.apk