mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 11:43:39 +00:00
6de942e05d
- 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
18 lines
291 B
Bash
Executable File
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
|