mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-25 06:09:50 +00:00
22 lines
293 B
Bash
Executable File
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}
|