Blind fix for #9576
This commit is contained in:
parent
18bffe1257
commit
491aef89c7
6
env.sh
6
env.sh
|
@ -23,6 +23,7 @@ if [ -d "$pfx/usr/bin" ]; then
|
|||
fi
|
||||
|
||||
new_env='
|
||||
R2_ENV_IS_SET=1
|
||||
LIBR_PLUGINS=${pfx}/lib/radare2
|
||||
PATH=$pfx/bin:${PATH}
|
||||
LD_LIBRARY_PATH=$pfx/lib:$LD_LIBRARY_PATH
|
||||
|
@ -31,6 +32,11 @@ PKG_CONFIG_PATH=$pfx/lib/pkgconfig:$PKG_CONFIG_PATH
|
|||
'
|
||||
|
||||
shift
|
||||
if [ "$R2_ENV_IS_SET" = 1 ]; then
|
||||
echo "Nested call"
|
||||
exec $*
|
||||
exit $?
|
||||
fi
|
||||
|
||||
if [ -z "$*" ]; then
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue