radare2/sys/purge.sh
2015-07-06 22:51:09 +02:00

10 lines
189 B
Bash
Executable File

#!/bin/sh
PREFIX="$1"
if [ -z "${PREFIX}" ]; then
PREFIX=/usr
fi
[ -z "${SUDO}" ] && SUDO=sudo
echo "Uninstalling r2 from ${PREFIX}..."
./configure --prefix="${PREFIX}"
${SUDO} make purge