Skip to content
Browse files

squisher: update to new naming convention

  • Loading branch information...
1 parent 143e218 commit 3dae885c92da69f7d826390b6d7801e8bb8dc11c @milaq milaq committed Jun 8, 2012
Showing with 3 additions and 7 deletions.
  1. +3 −7 releasetools/squisher
View
10 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..."

0 comments on commit 3dae885

Please sign in to comment.
Something went wrong with that request. Please try again.