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

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 # Determine what to name the new signed package
if [ -z "$CYANOGEN_NIGHTLY" ]; then 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=`sed -n -e'/ro\.modversion/s/^.*CyanogenMod-//p' $REPACK/ota/system/build.prop`
: ${MODVERSION:=nightly} : ${MODVERSION:=nightly}
OUTFILE=$OUT/update-cm-$MODVERSION-signed.zip OUTFILE=$OUT/update-cm-$MODVERSION-signed.zip
else
OUTFILE=$OUT/update-squished.zip
fi fi
# Pack it up and sign # Pack it up and sign