* Add "... || exit 1" to every command to catch failure.

svn path=/nix/trunk/test/; revision=44
gstqt5
Eelco Dolstra 2003-04-23 07:23:01 +00:00
parent 7dec82e241
commit d563648841
1 changed files with 7 additions and 7 deletions

View File

@ -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