diff --git a/build/envsetup.sh b/build/envsetup.sh index b0c70ad3..d10c54bc 100644 --- a/build/envsetup.sh +++ b/build/envsetup.sh @@ -370,6 +370,7 @@ function installboot() adb shell chmod 644 /system/lib/modules/* fi adb shell dd if=/cache/boot.img of=$PARTITION + adb shell rm -rf /cache/boot.img echo "Installation complete." else echo "The connected device does not appear to be $LINEAGE_BUILD, run away!" @@ -410,6 +411,7 @@ function installrecovery() then adb push $OUT/recovery.img /cache/ adb shell dd if=/cache/recovery.img of=$PARTITION + adb shell rm -rf /cache/recovery.img echo "Installation complete." else echo "The connected device does not appear to be $LINEAGE_BUILD, run away!"