radare2/sys/valabind.sh
2015-06-16 22:19:48 -04:00

22 lines
293 B
Bash
Executable File

#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX=/usr
# find root
cd "$(dirname "$PWD/$0")"
. ./CONFIG
mkdir _work
cd _work || exit 1
if [ -d valabind ]; then
cd valabind
git pull
else
git clone git://github.com/radare/valabind
cd valabind
fi
make clean
make
sudo make install PREFIX=${PREFIX}