cookutils diff cook @ rev 97
Let receipt have option in compile_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 20:19:13 2011 +0200 (2011-05-08) |
parents | 9af9e726b927 |
children | 747bd9aaeb63 |
line diff
1.1 --- a/cook Sun May 08 02:56:02 2011 +0200 1.2 +++ b/cook Sun May 08 20:19:13 2011 +0200 1.3 @@ -432,7 +432,7 @@ 1.4 if grep -q ^compile_rules $receipt; then 1.5 gettext -e "Executing: compile_rules\n" 1.6 [ -d "$src" ] && cd $src 1.7 - compile_rules || exit 1 1.8 + compile_rules $@ || exit 1 1.9 # Stay compatible with _pkg 1.10 [ -d "$src/_pkg" ] && mv $src/_pkg $install 1.11 # QA: compile_rules success so valid. 1.12 @@ -747,7 +747,7 @@ 1.13 fi 1.14 1.15 # Cook and pack or exit on error and log everything. 1.16 - cookit 2>&1 | tee $LOGS/$pkg.log 1.17 + cookit $@ 2>&1 | tee $LOGS/$pkg.log 1.18 remove_deps | tee -a $LOGS/$pkg.log 1.19 cookit_quality 1.20 packit 2>&1 | tee -a $LOGS/$pkg.log