Merge pull request #4882 from rtfd/fix-path-extension

Use python to expand the cwd instead of environment variables
ghowardsit
Eric Holscher 2018-11-08 16:53:48 -06:00 committed by GitHub
commit 39303838b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

2
common

@ -1 +1 @@
Subproject commit 52dfe7ab1dbda9d2a05f2d63bedac63e30a4e5ad
Subproject commit d8aa79b2b560b8f8d691298fec1912c6c679c8c1

View File

@ -148,7 +148,9 @@ class BuildCommand(BuildCommandResultMixin):
proc = subprocess.Popen(
self.command,
shell=self.shell,
cwd=self.cwd,
# This is done here for local builds, but not for docker,
# as we want docker to expand inside the container
cwd=os.path.expandvars(self.cwd),
stdin=stdin,
stdout=stdout,
stderr=stderr,