tazwok diff tazwok @ rev 124

log compile_rules and genpkg_rules output
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 07 08:37:14 2009 +0000 (2009-04-07)
parents 10ae7d406b96
children d88dec86b2ec
line diff
     1.1 --- a/tazwok	Sat Apr 04 19:17:16 2009 +0200
     1.2 +++ b/tazwok	Tue Apr 07 08:37:14 2009 +0000
     1.3 @@ -336,7 +336,7 @@
     1.4  	# make the package if it exists.
     1.5  	if grep -q ^compile_rules $RECEIPT; then
     1.6  		echo "executing compile_rules" >> $LOG
     1.7 -		compile_rules
     1.8 +		compile_rules 2>&1 | tee compile_rules.log
     1.9  		# Exit if compilation failed so the binary package
    1.10  		# is not generated when using the cook command.
    1.11  		local CHECK=$?
    1.12 @@ -462,7 +462,7 @@
    1.13  	if grep -q ^genpkg_rules $RECEIPT; then
    1.14  		# Log process.
    1.15  		echo "executing genpkg_rules" >> $LOG
    1.16 -		genpkg_rules
    1.17 +		genpkg_rules 2>&1 | tee genpkg_rules.log
    1.18  		cd $WOK/$PACKAGE
    1.19  		# Skip generic files for packages with a WANTED variable 
    1.20  		# (dev and splited pkgs).