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" ] if [ "$TARGET_PRODUCT" = "cyanogen_dream_sapphire" ]
then then
sed -e "s/system\/xbin\/su/system\/bin\/su/g" META-INF/com/google/android/updater-script | grep -v xbin > updater-script.new sed -e "s/system\/xbin\/su/system\/bin\/su/g" META-INF/com/google/android/updater-script | grep -v xbin > updater-script.new
else mv updater-script.new META-INF/com/google/android/updater-script
cp META-INF/com/google/android/updater-script updater-script.new
fi fi
cat updater-script.new >> META-INF/com/google/android/updater-script
rm updater-script.new
# Pack it up and sign # Pack it up and sign
zip -r update.zip . zip -r update.zip .
echo "Signing package.." echo "Signing package.."