mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-26 15:54:59 +00:00
Fallback to /bin/sh if the $SHELL is fishy ##build
This commit is contained in:
parent
25c1472a95
commit
9f2bb72017
@ -99,6 +99,11 @@ if [ "${USE_SU}" = 1 ]; then
|
||||
SUDO="/bin/su -m root -c"
|
||||
fi
|
||||
|
||||
${SHELL} --help 2> /dev/null | grep -q fish
|
||||
if [ $? = 0 ]; then
|
||||
SHELL=/bin/sh
|
||||
fi
|
||||
|
||||
if [ "${M32}" = 1 ]; then
|
||||
${SHELL} ./sys/build-m32.sh ${ARGS} || exit 1
|
||||
elif [ "${HARDEN}" = 1 ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user