diff options
Diffstat (limited to 'test/build/gnet-build.sh')
-rwxr-xr-x | test/build/gnet-build.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/build/gnet-build.sh b/test/build/gnet-build.sh index 9752994a11ec..72141c2687ae 100755 --- a/test/build/gnet-build.sh +++ b/test/build/gnet-build.sh @@ -5,10 +5,10 @@ export PKG_CONFIG_PATH=$glib/lib/pkgconfig export LD_LIBRARY_PATH=$glib/lib top=`pwd` -tar xvfz $src -cd gnet-* -./configure --prefix=$top -make -make install -cd .. -rm -rf gnet-* +tar xvfz $src || exit 1 +cd gnet-* || exit 1 +./configure --prefix=$top || exit 1 +make || exit 1 +make install || exit 1 +cd $top || exit 1 +rm -rf gnet-* || exit 1 |