From 90120ee5c3952788991c3eb0e9357c987f34cd97 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 2 Jul 2014 21:35:16 -0700 Subject: [PATCH] stop side-effect of cd - at the end of these scripts --- s/build | 2 +- s/cmake-init | 2 +- s/install | 2 +- s/runtests | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/s/build b/s/build index ab29c20ad..40ab81283 100755 --- a/s/build +++ b/s/build @@ -31,4 +31,4 @@ fi cd $ROOT/$BIN_DIR make $MAKEOPTS && make test -cd - +cd $OLDPWD diff --git a/s/cmake-init b/s/cmake-init index 361825423..eb3a1e067 100755 --- a/s/cmake-init +++ b/s/cmake-init @@ -44,4 +44,4 @@ cmake .. \ -DCMAKE_INCLUDE_PATH=$INCLUDE_PATH \ -DCMAKE_PREFIX_PATH=$PREFIX_PATH \ -DCMAKE_INSTALL_PREFIX=$HOME/eressea $* -cd - +cd $OLDPWD diff --git a/s/install b/s/install index 359254e6a..2391ad00c 100755 --- a/s/install +++ b/s/install @@ -16,4 +16,4 @@ BIN_DIR="build-$MACHINE-$CC-Debug" cd $ROOT/$BIN_DIR make install -cd - +cd $OLDPWD diff --git a/s/runtests b/s/runtests index 68e08b607..35934997b 100755 --- a/s/runtests +++ b/s/runtests @@ -18,4 +18,4 @@ fi $ROOT/$BIN_DIR/eressea/test_eressea cd $ROOT $ROOT/$BIN_DIR/eressea/eressea -v0 scripts/runtests.lua -cd - +cd $OLDWPD