]> code.ossystems Code Review - openembedded-core.git/commit
postinst_intercept: allow to pass variables with spaces
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 4 Sep 2015 12:22:27 +0000 (14:22 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Sep 2015 15:10:46 +0000 (16:10 +0100)
commitc66d7d85b7225be8c838449324d506565dd0081d
tree6caf926cfe7c168aa87dd689e28d68b150b54a4f
parent7d08d2d5c0ae686e3bb8732ea82f30fd189b1cd8
postinst_intercept: allow to pass variables with spaces

* trying to pass foo="a b" through postinst_intercept ends
  with the actual script header to containing:
  b
  foo=a
  which fails because "b" command doesn't exist.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/postinst-intercepts/postinst_intercept