* [PATCH] oeqa/targetbuild: Remove bashism
@ 2015-08-18 15:24 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-08-18 15:24 UTC (permalink / raw)
To: openembedded-core
Use '.' instead of 'source' so this works with dash as /bin/sh.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py
index d499bb1..9d532e7 100644
--- a/meta/lib/oeqa/utils/targetbuild.py
+++ b/meta/lib/oeqa/utils/targetbuild.py
@@ -132,6 +132,6 @@ class SDKBuildProject(BuildProject):
f.write("%s\n" % msg)
def _run(self, cmd):
- self.log("Running source %s; " % self.sdkenv + cmd)
- return subprocess.call("source %s; " % self.sdkenv + cmd, shell=True)
+ self.log("Running . %s; " % self.sdkenv + cmd)
+ return subprocess.call(". %s; " % self.sdkenv + cmd, shell=True)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-18 15:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-18 15:24 [PATCH] oeqa/targetbuild: Remove bashism Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox