Merge "Fix LeoUpdate script so that only one boot folder is present" into gingerbread
This commit is contained in:
commit
56732df404
@ -19,8 +19,9 @@ grep -vw boot.img temp > updater-script
|
|||||||
rm -rf temp
|
rm -rf temp
|
||||||
echo Zipping Package
|
echo Zipping Package
|
||||||
cd "$LOC"/temp
|
cd "$LOC"/temp
|
||||||
rm -rf boot.img
|
rm -rf "$LOC"/temp/boot.img
|
||||||
cp -a "$LOC"/boot boot
|
rm -rf "$LOC"/temp/boot
|
||||||
|
cp -a "$LOC"/boot "$LOC"/temp/boot
|
||||||
rm -rf "$LOC"/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip
|
rm -rf "$LOC"/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip
|
||||||
zip -9yr "$LOC"/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip * > /dev/null
|
zip -9yr "$LOC"/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip * > /dev/null
|
||||||
cd "$LOC"
|
cd "$LOC"
|
||||||
|
Loading…
Reference in New Issue
Block a user