提交 cd655514 编写于 作者: S Stefan Agner 提交者: Tom Rini

tools/env: allow equal sign as key value separation

Treat the first equal sign as a key/value separation too. This makes
the script files compatible with mkenvimage input file format. It
won't support variables with equal signs anymore, but this seems not
really like a loss.
Signed-off-by: NStefan Agner <stefan.agner@toradex.com>
上级 b3f40703
......@@ -357,7 +357,7 @@ static int get_config (char *);
static char *skip_chars(char *s)
{
for (; *s != '\0'; s++) {
if (isblank(*s))
if (isblank(*s) || *s == '=')
return s;
}
return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册