summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/squisher2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/squisher b/tools/squisher
index b511936..99b7530 100755
--- a/tools/squisher
+++ b/tools/squisher
@@ -141,7 +141,7 @@ rm -rf $REPACK/ota/recovery
# 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=`sed -n -e'/ro\.cm.version/s/^.*=-//p' $REPACK/ota/system/build.prop`
: ${MODVERSION:=nightly}
OUTFILE=$OUT/update-cm-$MODVERSION-signed.zip
else