* Add "... || exit 1" to every command to catch failure.
This commit is contained in:
parent
e59c3246b9
commit
6faa154c89
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue