From 3dae885c92da69f7d826390b6d7801e8bb8dc11c Mon Sep 17 00:00:00 2001 From: Micha LaQua Date: Fri, 8 Jun 2012 16:21:29 +0300 Subject: [PATCH] squisher: update to new naming convention --- releasetools/squisher | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/releasetools/squisher b/releasetools/squisher index f1c12a7..8ed6c89 100755 --- a/releasetools/squisher +++ b/releasetools/squisher @@ -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..."