|
@@ -194,7 +194,7 @@ def fork_for_tests(concurrency_num, suite):
|
|
|
oe.path.copytree(selftestdir, newselftestdir)
|
|
|
|
|
|
for e in os.environ:
|
|
|
- if builddir in os.environ[e]:
|
|
|
+ if builddir + "/" in os.environ[e] or os.environ[e].endswith(builddir):
|
|
|
os.environ[e] = os.environ[e].replace(builddir, newbuilddir)
|
|
|
|
|
|
subprocess.check_output("git init; git add *; git commit -a -m 'initial'", cwd=newselftestdir, shell=True)
|