radare2/sys/valabind.sh

22 lines
293 B
Bash
Raw Normal View History

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