diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-04-23 07:23:01 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-04-23 07:23:01 +0000 |
commit | 6faa154c89220792afbee534e4d7e26b6cba7e90 (patch) | |
tree | fdc1527a968d8a75a944b29e26fe1a66425d9bd2 | |
parent | e59c3246b96492b84c77aebe293ec68d96fe9305 (diff) |
* Add "... || exit 1" to every command to catch failure.
-rwxr-xr-x | test/build/pkgconfig-build.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/build/pkgconfig-build.sh b/test/build/pkgconfig-build.sh index ff418056f..beceddfb6 100755 --- a/test/build/pkgconfig-build.sh +++ b/test/build/pkgconfig-build.sh @@ -3,10 +3,10 @@ export PATH=/bin:/usr/bin top=`pwd` -tar xvfz $src -cd pkgconfig-* -./configure --prefix=$top -make -make install -cd .. -rm -rf pkgconfig-* +tar xvfz $src || exit 1 +cd pkgconfig-* || exit 1 +./configure --prefix=$top || exit 1 +make || exit 1 +make install || exit 1 +cd .. || exit 1 +rm -rf pkgconfig-* || exit 1 |