mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 15:41:38 +00:00
22 lines
288 B
Bash
Executable File
22 lines
288 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}
|