stop side-effect of cd - at the end of these scripts

This commit is contained in:
Enno Rehling 2014-07-02 21:35:16 -07:00
parent 22c5b4d45c
commit 90120ee5c3
4 changed files with 4 additions and 4 deletions

View file

@ -31,4 +31,4 @@ fi
cd $ROOT/$BIN_DIR cd $ROOT/$BIN_DIR
make $MAKEOPTS && make test make $MAKEOPTS && make test
cd - cd $OLDPWD

View file

@ -44,4 +44,4 @@ cmake .. \
-DCMAKE_INCLUDE_PATH=$INCLUDE_PATH \ -DCMAKE_INCLUDE_PATH=$INCLUDE_PATH \
-DCMAKE_PREFIX_PATH=$PREFIX_PATH \ -DCMAKE_PREFIX_PATH=$PREFIX_PATH \
-DCMAKE_INSTALL_PREFIX=$HOME/eressea $* -DCMAKE_INSTALL_PREFIX=$HOME/eressea $*
cd - cd $OLDPWD

View file

@ -16,4 +16,4 @@ BIN_DIR="build-$MACHINE-$CC-Debug"
cd $ROOT/$BIN_DIR cd $ROOT/$BIN_DIR
make install make install
cd - cd $OLDPWD

View file

@ -18,4 +18,4 @@ fi
$ROOT/$BIN_DIR/eressea/test_eressea $ROOT/$BIN_DIR/eressea/test_eressea
cd $ROOT cd $ROOT
$ROOT/$BIN_DIR/eressea/eressea -v0 scripts/runtests.lua $ROOT/$BIN_DIR/eressea/eressea -v0 scripts/runtests.lua
cd - cd $OLDWPD