AK2+Backend: fix file_getprop truncating if prop value contained =

See comments: https://github.com/osm0sis/AnyKernel2/pull/35#issuecomment-447648900
This commit is contained in:
osm0sis committed 2018-12-16 13:53:33 -04:00
1 parent 56b4244d53
commit 1d58385b26
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ ui_print() {
done;
}
show_progress() { echo "progress $1 $2" > $OUTFD; }
file_getprop() { $bb grep "^$2=" "$1" | $bb cut -d= -f2; }
file_getprop() { $bb grep "^$2=" "$1" | $bb cut -d= -f2-; }
cleanup() {
cd /tmp;
rm -rf /tmp/anykernel;