Skip to content

Commit

Permalink
fix: make binary releases executable everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
obreitwi committed May 29, 2024
1 parent 66f4047 commit 1eadca9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/make-binary-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ mkdir -p "${folder_release}"
mkdir -p "${folder_target}"
mkdir -p "${folder_man}"

# make sure binary works everywhere, not just in nix
patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 "${path_bin}"

install -Dm755 "${path_bin}" "${folder_release}"

help2man -o "${folder_man}/asfa.1" "${path_bin}"
Expand Down

0 comments on commit 1eadca9

Please sign in to comment.