wok diff aircrack-ng/receipt @ rev 9078

python-nose: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 16:44:25 2011 +0100 (2011-03-04)
parents 72a8ac68c219
children aa9d73cf312d
line diff
     1.1 --- a/aircrack-ng/receipt	Fri Jul 23 11:27:17 2010 +0200
     1.2 +++ b/aircrack-ng/receipt	Fri Mar 04 16:44:25 2011 +0100
     1.3 @@ -15,11 +15,11 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	sed -i s#/usr/local#/usr#g common.mak || exit 1
     1.8 -	sed -i s#/man/man1#/share/man/man1# common.mak || exit 1
     1.9 +	sed -i s#/usr/local#/usr#g common.mak || return 1
    1.10 +	sed -i s#/man/man1#/share/man/man1# common.mak || return 1
    1.11  	
    1.12  	# fix build with gcc45
    1.13 -	sed -i s/-Werror// common.mak || exit 1
    1.14 +	sed -i s/-Werror// common.mak || return 1
    1.15  	
    1.16  	make &&
    1.17  	make DESTDIR=$PWD/_pkg install