sys/asan.sh: -u for user.sh (#11619)

This commit is contained in:
Khairul Azhar Kasmiran 2018-09-22 16:50:34 +08:00 committed by radare
parent d878264f23
commit 2b94b2a909
1 changed files with 7 additions and 1 deletions

View File

@ -40,4 +40,10 @@ if [ "$RET" != 0 ]; then
echo "Your compiler doesn't support ASAN."
exit 1
fi
exec sys/install.sh $*
SCRIPT=install.sh
if [ "$1" = "-u" ]; then
shift
SCRIPT=user.sh
fi
exec sys/${SCRIPT} $*