Some random fixes in the sys/*.sh

This commit is contained in:
Susanne588586 2014-05-09 00:55:51 +02:00 committed by pancake
parent aa1e7c22fc
commit c8a90a5fcd
4 changed files with 7 additions and 7 deletions

View File

@ -2,8 +2,8 @@
# find root
cd `dirname $PWD/$0`
mkdir -p _work
cd _work
mkdir _work
cd _work || exit 1
if [ -d bokken ]; then
cd bokken
hg pull -u

View File

@ -5,7 +5,7 @@ sys/clone-r2-bindings.sh
sys/install.sh
make dist
cd radare2-bindings
cd radare2-bindings || exit 1
./configure --prefix=/usr --enable-devel
make mrproper
cd python
@ -15,7 +15,7 @@ make dist
DD=/tmp/r2
rm -rf $DD
mkdir -p $DD
mkdir $DD
cp ../radare2-bindings-`make version`.tar.gz $DD
cd ..
cp ../radare2-`make version`.tar.gz $DD

View File

@ -1,7 +1,7 @@
#!/bin/sh
revision() {
echo `hg tip|head -n 1|cut -d : -f 2`
echo `git log | head -1 | cut -d " " -f 2`
}
cd `dirname $PWD/$0` ; cd ..

View File

@ -3,8 +3,8 @@
# find root
cd `dirname $PWD/$0`
mkdir -p _work
cd _work
mkdir _work
cd _work || exit 1
if [ -d valabind ]; then
cd valabind
git pull