Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Nov 7, 2023
1 parent 50ecc21 commit b45158d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/lib/installation_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
2 changes: 1 addition & 1 deletion bin/yaml/tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b45158d

Please sign in to comment.