Fix squisher's modification to updater-script.
This commit is contained in:
parent
f65a5d6bcf
commit
7cfb49fcbd
@ -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.."
|
||||||
|
Loading…
Reference in New Issue
Block a user