From 4114c904f173721c682f9ed1a593c77307ef9d35 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 18 Aug 2015 16:24:44 +0100 Subject: oeqa/targetbuild: Remove bashism Use '.' instead of 'source' so this works with dash as /bin/sh. Signed-off-by: Richard Purdie Signed-off-by: Ross Burton --- meta/lib/oeqa/utils/targetbuild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/lib') 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) -- cgit v1.2.3