radare2/sys/install-rev.sh
pancake 6de942e05d * Add RBinInfo->has_va
- Used to autoforce io.va after loading the bin
  - Fixes loading kernel modules and object files
* Fix loading strings on a object file without io.va
* Add install-rev.sh script
2011-11-29 15:29:50 +01:00

18 lines
291 B
Bash
Executable File

#!/bin/sh
if [ -z "$1" ]; then
echo "Usage: install-rev [revision-number]"
exit 1
fi
REV="$1"
MAKE=make
gmake --help >/dev/null 2>&1
[ $? = 0 ] && MAKE=gmake
# find root
cd `dirname $PWD/$0` ; cd ..
echo hg up -C -r "${REV}"
hg up -C -r "${REV}"
./sys/build.sh && sudo ${MAKE} symstall