diff options
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/context.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py index 409698d57c..48ec5d419c 100644 --- a/meta/lib/oeqa/selftest/context.py +++ b/meta/lib/oeqa/selftest/context.py | |||
@@ -46,7 +46,7 @@ class OESelftestTestContext(OETestContext): | |||
46 | oe.path.copytree(selftestdir, newselftestdir) | 46 | oe.path.copytree(selftestdir, newselftestdir) |
47 | 47 | ||
48 | for e in os.environ: | 48 | for e in os.environ: |
49 | if builddir in os.environ[e]: | 49 | if builddir + "/" in os.environ[e] or os.environ[e].endswith(builddir): |
50 | os.environ[e] = os.environ[e].replace(builddir, newbuilddir) | 50 | os.environ[e] = os.environ[e].replace(builddir, newbuilddir) |
51 | 51 | ||
52 | subprocess.check_output("git init; git add *; git commit -a -m 'initial'", cwd=newselftestdir, shell=True) | 52 | subprocess.check_output("git init; git add *; git commit -a -m 'initial'", cwd=newselftestdir, shell=True) |