rizin/sys/ios-shell.sh

10 lines
154 B
Bash
Executable file

#!/bin/sh
[ -z "$SHELL" ] && SHELL=/bin/sh
if [ -d sys ]; then
export PATH="$PWD/sys/:$PATH"
$SHELL
else
echo "Run from r2 root directory"
exit 1
fi