diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-02-19 14:53:36 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-20 14:28:05 +0000 |
commit | e10c1102d958ffc6b521fb36c6bc51d896503218 (patch) | |
tree | 2d8ccb74b1c5fb8331b6641c57073127ba332e01 /scripts/lib/mic | |
parent | a6522c19af9525a6e0bed241f2d926faaef76827 (diff) | |
download | openembedded-core-e10c1102d958ffc6b521fb36c6bc51d896503218.tar.gz openembedded-core-e10c1102d958ffc6b521fb36c6bc51d896503218.tar.bz2 openembedded-core-e10c1102d958ffc6b521fb36c6bc51d896503218.zip |
wic: Fix exec_native_cmd() path
The path exported in exec_native_cmd() includes bogus 'PATH=' which
means the native paths for all but the first will be ignored.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/lib/mic')
-rw-r--r-- | scripts/lib/mic/utils/oe/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/mic/utils/oe/misc.py b/scripts/lib/mic/utils/oe/misc.py index 6b01955a88..d65b77a7aa 100644 --- a/scripts/lib/mic/utils/oe/misc.py +++ b/scripts/lib/mic/utils/oe/misc.py @@ -74,7 +74,7 @@ def exec_native_cmd(cmd_and_args, native_sysroot, catch = 3): Always need to execute native commands as_shell """ native_paths = \ - "export PATH=%s/sbin:PATH=%s/usr/sbin:PATH=%s/usr/bin:$PATH" % \ + "export PATH=%s/sbin:%s/usr/sbin:%s/usr/bin:$PATH" % \ (native_sysroot, native_sysroot, native_sysroot) native_cmd_and_args = "%s;%s" % (native_paths, cmd_and_args) msger.debug("exec_native_cmd: %s" % cmd_and_args) |