summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-18 16:24:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-19 17:57:57 +0100
commit4114c904f173721c682f9ed1a593c77307ef9d35 (patch)
treed40881edbb0b06c38735d887760153ffd773234b /meta
parent34ffa04a5030d23070aa4d389d1cc51438525670 (diff)
downloadopenembedded-core-4114c904f173721c682f9ed1a593c77307ef9d35.tar.gz
openembedded-core-4114c904f173721c682f9ed1a593c77307ef9d35.tar.bz2
openembedded-core-4114c904f173721c682f9ed1a593c77307ef9d35.zip
oeqa/targetbuild: Remove bashism
Use '.' instead of 'source' so this works with dash as /bin/sh. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/utils/targetbuild.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py
index d499bb1e1e..9d532e74d9 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)