wok-current diff nagios/receipt @ rev 8615

Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 19:09:46 2011 +0100 (2011-02-14)
parents 1adca870d3e0
children f84080e3ed2f
line diff
     1.1 --- a/nagios/receipt	Sat Feb 12 19:36:25 2011 +0000
     1.2 +++ b/nagios/receipt	Mon Feb 14 19:09:46 2011 +0100
     1.3 @@ -18,13 +18,13 @@
     1.4  	cd $src
     1.5  	while read patch_file; do
     1.6  		if [ ! -f done.$patch_file ]; then
     1.7 -			patch -p1 < ../stuff/$patch_file || exit 1
     1.8 +			patch -p1 < ../stuff/$patch_file || return 1
     1.9  			touch done.$patch_file
    1.10  		fi
    1.11  	done <<EOT
    1.12  $PACKAGE-$VERSION-Makefiles.u
    1.13  EOT
    1.14 -	#patch -p1 < ../stuff/nagios-3.2.1-Makefiles.u || exit 1
    1.15 +	#patch -p1 < ../stuff/nagios-3.2.1-Makefiles.u || return 1
    1.16  	./configure \
    1.17  		--prefix=/usr \
    1.18  		--infodir=/usr/share/info \