Fix symlink resolution in shell proxy (#10412)
parent
d965c26c5c
commit
4829a401d8
|
@ -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…
Reference in New Issue