about summary refs log tree commit diff
path: root/test/build/pan-build-2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/build/pan-build-2.sh')
-rwxr-xr-xtest/build/pan-build-2.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/build/pan-build-2.sh b/test/build/pan-build-2.sh
index 87dd4e6a1b02..8320cb0102f9 100755
--- a/test/build/pan-build-2.sh
+++ b/test/build/pan-build-2.sh
@@ -11,10 +11,10 @@ export LIBRARY_PATH=$pspell/lib
 export LDFLAGS=-s
 
 top=`pwd`
-tar xvfj $src
-cd pan-*
-./configure --prefix=$top
-make
-make install
-cd ..
-rm -rf pan-*
+tar xvfj $src || exit 1
+cd pan-* || exit 1
+./configure --prefix=$top || exit 1
+make || exit 1
+make install || exit 1
+cd $top || exit 1
+rm -rf pan-* || exit 1