Skip to content

Commit 6c90234

Browse files
committed
fix: call pwd independently from previous lines
Restore behaviour before #534 and wrong fix in #560
1 parent cb2a020 commit 6c90234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ def execute(self, build_plan, zip_stream, query):
943943
with tempfile.NamedTemporaryFile(mode="w+t", delete=True) as temp_file:
944944
path, script = action[1:]
945945
# NOTE: Execute `pwd` to determine the subprocess shell's working directory after having executed all other commands.
946-
script = f"{script} && pwd >{temp_file.name}"
946+
script = f"{script}\npwd >{temp_file.name}"
947947
p = subprocess.Popen(
948948
script,
949949
shell=True,

0 commit comments

Comments
 (0)