|
@@ -44,7 +44,9 @@ class Signing(OESelftestTestCase):
|
|
|
origenv = os.environ.copy()
|
|
|
|
|
|
for e in os.environ:
|
|
|
- if builddir in os.environ[e]:
|
|
|
+ if builddir + "/" in os.environ[e]:
|
|
|
+ os.environ[e] = os.environ[e].replace(builddir + "/", newbuilddir + "/")
|
|
|
+ if os.environ[e].endswith(builddir):
|
|
|
os.environ[e] = os.environ[e].replace(builddir, newbuilddir)
|
|
|
|
|
|
os.chdir(newbuilddir)
|