summaryrefslogtreecommitdiff
path: root/META-INF
diff options
context:
space:
mode:
authorosm0sis <osm0sis@outlook.com>2017-12-03 08:50:51 -0400
committerosm0sis <osm0sis@outlook.com>2017-12-03 08:50:51 -0400
commit79df8fcf0b79f22fe239dafd80391f6d28350b4e (patch)
tree1159ded9719b44a8cf0c6b570d492a86aa0bf317 /META-INF
parentdf1999911b0049b0eb5c82de3873429507266f14 (diff)
AK2+Backend: misc fixes
- hide some expected stderr for AK2 mods with no additional ramdisk files - fix U-Boot support by passing correct repacked ramdisk filename - fix multi-compression support during repack derp - fix cleanup on successful flash not working due to double match from cleanuponabort
Diffstat (limited to 'META-INF')
-rwxr-xr-xMETA-INF/com/google/android/update-binary2
1 files changed, 1 insertions, 1 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary
index 74c15c5..d18a101 100755
--- a/META-INF/com/google/android/update-binary
+++ b/META-INF/com/google/android/update-binary
@@ -21,7 +21,7 @@ set_perm_recursive() {
$bb find "$i" -type f -exec chmod $4 {} +;
done;
}
-file_getprop() { grep "^$2" "$1" | cut -d= -f2; }
+file_getprop() { grep "^$2=" "$1" | cut -d= -f2; }
getprop() { test -e /sbin/getprop && /sbin/getprop $1 || file_getprop /default.prop $1; }
cleanup() { rm -rf /tmp/anykernel; }
debugging() {