* Add "... || exit 1" to every command to catch failure.
svn path=/nix/trunk/test/; revision=44
This commit is contained in:
parent
7dec82e241
commit
d563648841
|
@ -3,10 +3,10 @@
|
||||||
export PATH=/bin:/usr/bin
|
export PATH=/bin:/usr/bin
|
||||||
|
|
||||||
top=`pwd`
|
top=`pwd`
|
||||||
tar xvfz $src
|
tar xvfz $src || exit 1
|
||||||
cd pkgconfig-*
|
cd pkgconfig-* || exit 1
|
||||||
./configure --prefix=$top
|
./configure --prefix=$top || exit 1
|
||||||
make
|
make || exit 1
|
||||||
make install
|
make install || exit 1
|
||||||
cd ..
|
cd .. || exit 1
|
||||||
rm -rf pkgconfig-*
|
rm -rf pkgconfig-* || exit 1
|
||||||
|
|
Loading…
Reference in New Issue