Merge "another fix to ignore space then = sign" into twrp2.7
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index bb472bf..88b3829 100644
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -98,6 +98,8 @@
LOGINFO("command is: '%s' and ", command);
val_start = script_line;
val_start += cindex + 1;
+ if ((int) *val_start == 32)
+ val_start++; //get rid of space
if ((int) *val_start == 51)
val_start++; //get rid of = at the beginning
strncpy(value, val_start, line_len - cindex - remove_nl);