squisher: update to new naming convention

This commit is contained in:
Micha LaQua 2012-06-08 16:21:29 +03:00
parent 143e21812e
commit 3dae885c92

View File

@ -162,13 +162,9 @@ rm -rf $REPACK/ota/recovery
find $REPACK/ota/system/lib/modules -name "*.ko" -print0 | xargs -0 arm-eabi-strip --strip-unneeded
# Determine what to name the new signed package
if [ -z "$CYANOGEN_NIGHTLY" ]; then
MODVERSION=`sed -n -e'/ro\.modversion/s/^.*CyanogenMod-//p' $REPACK/ota/system/build.prop`
: ${MODVERSION:=nightly}
OUTFILE=$OUT/update-cm-$MODVERSION-signed.zip
else
OUTFILE=$OUT/update-squished.zip
fi
MODVERSION=`sed -n -e'/ro\.cm\.version/s/^.*=//p' $REPACK/ota/system/build.prop`
OUTFILE=$OUT/cm-$MODVERSION.zip
echo MODVERSION: $MODVERSION
# Pack it up and sign
printf "Zipping package..."