Fix symlink resolution in shell proxy (#10412)

main
John Stevenson 2 years ago committed by GitHub
parent d965c26c5c
commit 4829a401d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -397,9 +397,8 @@ PROXY;
return <<<PROXY
#!/usr/bin/env sh
self=\$(realpath \$0 >/dev/null 2>&1)
if [ -z "\$self" ]
then
self=\$(realpath \$0 2> /dev/null)
if [ -z "\$self" ]; then
self="\$0"
fi

Loading…
Cancel
Save