about summary refs log tree commit diff
path: root/test/build/gtk+-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/build/gtk+-build.sh')
-rwxr-xr-xtest/build/gtk+-build.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/build/gtk+-build.sh b/test/build/gtk+-build.sh
index 8451a2d4e1ba..3b663fec5f05 100755
--- a/test/build/gtk+-build.sh
+++ b/test/build/gtk+-build.sh
@@ -5,10 +5,10 @@ export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconf
 export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib
 
 top=`pwd`
-tar xvfj $src
-cd gtk+-*
-./configure --prefix=$top
-make
-make install
-cd ..
-rm -rf gtk+-*
+tar xvfj $src || exit 1
+cd gtk+-* || exit 1
+./configure --prefix=$top || exit 1
+make || exit 1
+make install || exit 1
+cd $top || exit 1
+rm -rf gtk+-* || exit 1