Fix error when checking CYANOGEN_NIGHTLY.

This commit is contained in:
Steve Kondik 2010-07-16 18:03:19 -04:00
parent 2d0feb5853
commit cee37ef25e
1 changed files with 2 additions and 2 deletions

View File

@ -130,11 +130,11 @@ find $REPACK/ota/system/lib/modules -name "*.ko" -print0 | xargs -0 arm-eabi-str
# Determine what to name the new signed package
if [ -z "$CYANOGEN_NIGHTLY" ]; then
OUTFILE=$OUT/update-squished.zip
else
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
# Pack it up and sign