radare2/sys/install.sh
pancake ce1d0e9975 * Fix sys for gmake (*BSD)
* Increase buffers in rasc2
2011-07-02 23:15:40 +02:00

18 lines
236 B
Bash
Executable File

#!/bin/sh
MAKE=make
gmake --help >/dev/null 2>&1
[ $? = 0 ] && MAKE=gmake
# find root
cd `dirname $PWD/$0` ; cd ..
# update
if [ -d .hg ]; then
hg pull -u
elif [ -d .git ]; then
git pull
fi
./sys/build.sh && sudo ${MAKE} symstall