diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-04-23 07:23:01 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-04-23 07:23:01 +0000 |
commit | d5636488415f9064e15ee59339169911e6a7fe90 (patch) | |
tree | 0fc5652e0ebe0d673da50085b096ddf7f93a392f /build/pkgconfig-build.sh | |
parent | 7dec82e24135935b9d355dc00d3c7c7eef0d7b7b (diff) |
* Add "... || exit 1" to every command to catch failure.
svn path=/nix/trunk/test/; revision=44
Diffstat (limited to '')
-rwxr-xr-x | build/pkgconfig-build.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/build/pkgconfig-build.sh b/build/pkgconfig-build.sh index ff418056fdb..beceddfb646 100755 --- a/build/pkgconfig-build.sh +++ b/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 |