fix: exec -a is not posix compliant (#3194)

pull/3197/head
William Tan 4 months ago committed by GitHub
parent 61298cc525
commit 404de92e2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -61,7 +61,7 @@ let
#!/bin/sh
dir="$(cd -- "$(dirname "$(dirname "$(realpath "$0")")")" >/dev/null 2>&1 ; pwd -P)"
${commonEnvs}
exec -a "$0" ${ldLoader} "$dir/exe/python3" "$dir/${file}" "$@"
exec ${ldLoader} "$dir/exe/python3" "$dir/${file}" "$@"
'';
wrapperBin =
file:
@ -69,7 +69,7 @@ let
#!/bin/sh
dir="$(cd -- "$(dirname "$(dirname "$(realpath "$0")")")" >/dev/null 2>&1 ; pwd -P)"
${commonEnvs}
exec -a "$0" ${ldLoader} "$dir/${file}" "$@"
exec ${ldLoader} "$dir/${file}" "$@"
'';
pwndbgGdbBundled = bundler (

Loading…
Cancel
Save