wok-6.x rev 1554
db nbs: abort on wget failure
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 12 09:57:17 2008 +0000 (2008-10-12) |
parents | 65d3dfc87776 |
children | 1783302c22a4 |
files | db/receipt nbs/receipt |
line diff
1.1 --- a/db/receipt Sun Oct 12 09:55:00 2008 +0000 1.2 +++ b/db/receipt Sun Oct 12 09:57:17 2008 +0000 1.3 @@ -17,13 +17,13 @@ 1.4 1.5 ln -s $PACKAGE-$VERSION.NC $src 1.6 cd $src 1.7 - wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 1.8 + wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1 1.9 [ -f done.patch.4.5.20.1 ] || patch -p0 < patch.4.5.20.1 1.10 touch done.patch.4.5.20.1 1.11 cd build_unix 1.12 ../dist/configure --prefix=/usr --infodir=/usr/share/info \ 1.13 - --mandir=/usr/share/man $CONFIGURE_ARGS 1.14 - make 1.15 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.16 + make && 1.17 make DESTDIR=$PWD/../_pkg install 1.18 } 1.19
2.1 --- a/nbs/receipt Sun Oct 12 09:55:00 2008 +0000 2.2 +++ b/nbs/receipt Sun Oct 12 09:57:17 2008 +0000 2.3 @@ -14,11 +14,11 @@ 2.4 cd $src 2.5 for i in Makefile nbs.h nbscat.c nbscat8k nbsclient.c nbsd.c; do 2.6 [ -f $i ] && continue 2.7 - wget http://svn.digium.com/view/nbs/trunk/$i?view=co 2.8 + wget http://svn.digium.com/view/nbs/trunk/$i?view=co || return 1 2.9 mv $i\?view=co $i 2.10 [ -f ../stuff/$i.u ] && patch -p0 < ../stuff/$i.u 2.11 done 2.12 - make 2.13 + make && 2.14 make DESTDIR=$PWD/_pkg install 2.15 } 2.16