diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-18 16:24:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-19 18:05:43 +0100 |
commit | c0dd559088e5e208758196892371c20101cecbd4 (patch) | |
tree | f32185da8a7c11be1378606778acad962e52a59a /meta/lib/oeqa/utils/targetbuild.py | |
parent | c1e7995c34ae8f18acded5838200e4fce402696d (diff) | |
download | poky-c0dd559088e5e208758196892371c20101cecbd4.tar.gz |
oeqa/targetbuild: Remove bashism
Use '.' instead of 'source' so this works with dash as /bin/sh.
(From OE-Core rev: 4114c904f173721c682f9ed1a593c77307ef9d35)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils/targetbuild.py')
-rw-r--r-- | meta/lib/oeqa/utils/targetbuild.py | 4 |
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): | |||
132 | f.write("%s\n" % msg) | 132 | f.write("%s\n" % msg) |
133 | 133 | ||
134 | def _run(self, cmd): | 134 | def _run(self, cmd): |
135 | self.log("Running source %s; " % self.sdkenv + cmd) | 135 | self.log("Running . %s; " % self.sdkenv + cmd) |
136 | return subprocess.call("source %s; " % self.sdkenv + cmd, shell=True) | 136 | return subprocess.call(". %s; " % self.sdkenv + cmd, shell=True) |
137 | 137 | ||