Blind fix for #9576

This commit is contained in:
pancake 2018-03-05 12:06:17 +01:00
parent 18bffe1257
commit 491aef89c7
1 changed files with 6 additions and 0 deletions

6
env.sh
View File

@ -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