mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-03 02:41:08 +00:00
e241d81f4a
Do some changes in sys/ to make it happy
20 lines
271 B
Bash
Executable File
20 lines
271 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
|
|
|
|
[ "`id -u`" = 0 ] || SUDO=sudo
|
|
|
|
./sys/build.sh && ${SUDO} ${MAKE} symstall
|