Remove unnecessary '--' from magiskboot actions

This commit is contained in:
topjohnwu
2019-03-07 18:07:23 -05:00
parent 8f4a6415cd
commit 7f08c06943
4 changed files with 41 additions and 34 deletions

View File

@ -109,12 +109,12 @@ ui_print "- Flashing new boot image"
if ! flash_image new-boot.img "$BOOTIMAGE"; then
ui_print "- Compressing ramdisk to fit in partition"
./magiskboot --cpio ramdisk.cpio compress
./magiskboot --repack "$BOOTIMAGE"
./magiskboot cpio ramdisk.cpio compress
./magiskboot repack "$BOOTIMAGE"
flash_image new-boot.img "$BOOTIMAGE" || abort "! Insufficient partition size"
fi
./magiskboot --cleanup
./magiskboot cleanup
rm -f new-boot.img
if [ -f stock_boot* ]; then