Fix squisher's modification to updater-script.

This commit is contained in:
Steve Kondik 2010-07-09 01:34:30 -04:00
parent f65a5d6bcf
commit 7cfb49fcbd

View file

@ -82,13 +82,9 @@ rm -rf recovery
if [ "$TARGET_PRODUCT" = "cyanogen_dream_sapphire" ]
then
sed -e "s/system\/xbin\/su/system\/bin\/su/g" META-INF/com/google/android/updater-script | grep -v xbin > updater-script.new
else
cp META-INF/com/google/android/updater-script updater-script.new
mv updater-script.new META-INF/com/google/android/updater-script
fi
cat updater-script.new >> META-INF/com/google/android/updater-script
rm updater-script.new
# Pack it up and sign
zip -r update.zip .
echo "Signing package.."