about summary refs log tree commit diff
path: root/test/build/pango-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/build/pango-build.sh')
-rwxr-xr-xtest/build/pango-build.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/build/pango-build.sh b/test/build/pango-build.sh
index 4ed76f76ab5b..42a2758025cf 100755
--- a/test/build/pango-build.sh
+++ b/test/build/pango-build.sh
@@ -4,11 +4,11 @@ export PATH=$pkgconfig/bin:/bin:/usr/bin
 export PKG_CONFIG_PATH=$glib/lib/pkgconfig
 export LD_LIBRARY_PATH=$glib/lib
 
-top=`pwd`
-tar xvfj $src
-cd pango-*
-./configure --prefix=$top
-make
-make install
-cd ..
-rm -rf pango-*
+top=`pwd` || exit 1
+tar xvfj $src || exit 1
+cd pango-* || exit 1
+./configure --prefix=$top || exit 1
+make || exit 1
+make install || exit 1
+cd $top || exit 1
+rm -rf pango-* || exit 1