summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorosm0sis <osm0sis@outlook.com>2018-12-16 13:51:57 -0400
committerosm0sis <osm0sis@outlook.com>2018-12-16 13:53:33 -0400
commit1d58385b263a47342893640e056c7da6c45e8c21 (patch)
tree19be9e84a0ae9fbb15d96b436a158a6fb5137efe /tools
parent56b4244d53767c74eb54a8c6f462f6f67ba218c6 (diff)
AK2+Backend: fix file_getprop truncating if prop value contained =
See comments: https://github.com/osm0sis/AnyKernel2/pull/35#issuecomment-447648900
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ak2-core.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ak2-core.sh b/tools/ak2-core.sh
index 4719bbd..9f326cb 100755
--- a/tools/ak2-core.sh
+++ b/tools/ak2-core.sh
@@ -18,7 +18,7 @@ ui_print() { echo -e "ui_print $1\nui_print" > $OUTFD; }
contains() { test "${1#*$2}" != "$1" && return 0 || return 1; }
# file_getprop <file> <property>
-file_getprop() { grep "^$2=" "$1" | cut -d= -f2; }
+file_getprop() { grep "^$2=" "$1" | cut -d= -f2-; }
# reset anykernel directory
reset_ak() {