radare2/sys/ios-shell.sh

13 lines
220 B
Bash
Raw Normal View History

#!/bin/sh
[ -z "$SHELL" ] && SHELL=/bin/sh
if [ -d sys ]; then
2015-10-09 09:42:49 +00:00
export IOSINC=`pwd`/sys/ios-include
export PATH="$PWD/sys/:$PATH"
2015-10-09 09:42:49 +00:00
export PS1="[ios-sdk \w]> "
$SHELL
else
echo "Run from r2 root directory"
exit 1
fi