summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2014-02-19 14:53:36 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-20 14:28:13 +0000
commit8e894d111de3cfe86bd6c6178fb619d94b1be115 (patch)
tree543ec4b74eb475de03ee02c98fbca0ab7eef1144 /scripts
parentbe98ee879fe3d558be31cc8102dd3c8de3e22405 (diff)
downloadpoky-8e894d111de3cfe86bd6c6178fb619d94b1be115.tar.gz
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. (From OE-Core rev: e10c1102d958ffc6b521fb36c6bc51d896503218) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/mic/utils/oe/misc.py2
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):
74 Always need to execute native commands as_shell 74 Always need to execute native commands as_shell
75 """ 75 """
76 native_paths = \ 76 native_paths = \
77 "export PATH=%s/sbin:PATH=%s/usr/sbin:PATH=%s/usr/bin:$PATH" % \ 77 "export PATH=%s/sbin:%s/usr/sbin:%s/usr/bin:$PATH" % \
78 (native_sysroot, native_sysroot, native_sysroot) 78 (native_sysroot, native_sysroot, native_sysroot)
79 native_cmd_and_args = "%s;%s" % (native_paths, cmd_and_args) 79 native_cmd_and_args = "%s;%s" % (native_paths, cmd_and_args)
80 msger.debug("exec_native_cmd: %s" % cmd_and_args) 80 msger.debug("exec_native_cmd: %s" % cmd_and_args)