cm: Rename modversion to cm.version

Change-Id: I73da7816fec34e892ee54e1782a18ec1c42863b4
This commit is contained in:
Steve Kondik
2011-12-29 15:29:34 -08:00
parent da686aad18
commit 25d7ca1628
4 changed files with 7 additions and 7 deletions

View File

@@ -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