From b45158d60390148e108cb0541c18783f211e898a Mon Sep 17 00:00:00 2001 From: partouf Date: Tue, 7 Nov 2023 23:12:05 +0100 Subject: [PATCH] fix --- bin/lib/installation_context.py | 3 ++- bin/yaml/tools.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/lib/installation_context.py b/bin/lib/installation_context.py index 0227c90fc..a481b7219 100644 --- a/bin/lib/installation_context.py +++ b/bin/lib/installation_context.py @@ -319,7 +319,8 @@ def run_script(self, staging: StagingDir, from_path: Union[str, Path], lines: Li script_file.chmod(0o755) self.stage_command(staging, [str(script_file)], cwd=from_path) - script_file.unlink() + if not self.dry_run: + script_file.unlink() def is_elf(self, maybe_elf_file: Path): return b"ELF" in subprocess.check_output(["file", maybe_elf_file]) diff --git a/bin/yaml/tools.yaml b/bin/yaml/tools.yaml index 7170fce2d..d7cb49998 100644 --- a/bin/yaml/tools.yaml +++ b/bin/yaml/tools.yaml @@ -30,7 +30,7 @@ tools: targets: - v1.3.0 after_stage_script: - - /opt/compiler-explorer/patchelf-0.15.0/bin/patchelf --force-rpath --set-rpath /opt/compiler-explorer/heaptrack-{name}/lib /opt/compiler-explorer/heaptrack-{name}/bin/heaptrack_print + - /opt/compiler-explorer/patchelf-0.15.0/bin/patchelf --set-rpath /opt/compiler-explorer/heaptrack-{name}/lib /opt/compiler-explorer/heaptrack-{name}/bin/heaptrack_print pvs-studio: if: - non-free