Fix squisher for cm.version
Change-Id: I9ba2cc1ef1a60d83752140c926cbdf00337c7cd6
diff --git a/tools/squisher b/tools/squisher
index 99b7530..cbd154f 100755
--- a/tools/squisher
+++ b/tools/squisher
@@ -141,7 +141,7 @@
# Determine what to name the new signed package
if [ -z "$CYANOGEN_NIGHTLY" ]; then
- MODVERSION=`sed -n -e'/ro\.cm.version/s/^.*=-//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