From d5636488415f9064e15ee59339169911e6a7fe90 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 23 Apr 2003 07:23:01 +0000 Subject: [PATCH] * Add "... || exit 1" to every command to catch failure. svn path=/nix/trunk/test/; revision=44 --- build/pkgconfig-build.sh | 14 +++++++------- 1 file 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