radare2/sys/valabind.sh

22 lines
288 B
Bash
Raw Normal View History

#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX=/usr
# find root
cd `dirname $PWD/$0`
2014-11-20 17:06:09 +08:00
. ./CONFIG
2014-05-09 06:55:51 +08:00
mkdir _work
cd _work || exit 1
if [ -d valabind ]; then
cd valabind
2012-08-09 19:15:25 +08:00
git pull
else
2012-08-09 19:15:25 +08:00
git clone git://github.com/radare/valabind
cd valabind
fi
make clean
make
sudo make install PREFIX=${PREFIX}