Skip to content

Commit a7f4416

Browse files
committed
cli: Fix rpath list being modified
1 parent 74097b7 commit a7f4416

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/cloe_launch/binutils.py

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def patch_rpath(file: Path, rpath: List[str]) -> Optional[subprocess.CompletedPr
2828
logging.error(f"Error running: {' '.join(cmd)}")
2929
logging.error(result.stderr)
3030
original = result.stdout.decode().strip()
31+
rpath = rpath.copy()
3132
if original != "":
3233
rpath.append(original)
3334

0 commit comments

Comments
 (0)