ignore extra = on install cmd

Change-Id: If9a0e6d4c00f6dd79f76c68ed0370a3101211801
This commit is contained in:
bigbiff bigbiff
2013-08-30 02:27:25 +00:00
committed by Dees_Troy
parent 7abb7a5813
commit 72e9554261
+2
View File
@@ -98,6 +98,8 @@ int OpenRecoveryScript::run_script_file(void) {
LOGINFO("command is: '%s' and ", command);
val_start = script_line;
val_start += cindex + 1;
if ((int) *val_start == 51)
val_start++; //get rid of = at the beginning
strncpy(value, val_start, line_len - cindex - remove_nl);
LOGINFO("value is: '%s'\n", value);
} else {