cookutils rev 388
Edit cooker
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat May 12 23:01:43 2012 +0100 (2012-05-12) |
parents | 6d02863a68ab |
children | c9b1a4ac1b4c |
files | cooker |
line diff
1.1 --- a/cooker Sat May 12 22:42:15 2012 +0100 1.2 +++ b/cooker Sat May 12 23:01:43 2012 +0100 1.3 @@ -229,12 +229,12 @@ 1.4 done 1.5 } 1.6 1.7 -# Create a arch.$ARCH file for each packages cooked for the target host 1.8 +# Create a arch.$ARCH file for each package cooked for the target host 1.9 # architecture 1.10 # 1.11 # The deal: we dont want all packages handled by cooker commands and stats, 1.12 # since we dont cross compile all packages for each arch but only a set of 1.13 -# packages to provide one full featured desktop, servers and goodies usefull 1.14 +# packages to provide one full featured desktop, servers and goodies useful 1.15 # for the host system. 1.16 # 1.17 arch_db() { 1.18 @@ -481,7 +481,7 @@ 1.19 do 1.20 pkg=$(echo $file | cut -d "/" -f 1) 1.21 desc=$(hg log --rev=$rev --template "{desc}" $file) 1.22 - echo "Commited package : $pkg - $desc" | log_commits 1.23 + echo "Committed package : $pkg - $desc" | log_commits 1.24 echo $pkg >> $commits.tmp 1.25 done 1.26 done 1.27 @@ -503,7 +503,7 @@ 1.28 cat $commits $commits.tmp | sed /"^$"/d > $commits.new 1.29 uniq $commits.new > $commits && rm $commits.* 1.30 1.31 - # Handle cross compilation. Creat arch packages DB and remove pkgs 1.32 + # Handle cross compilation. Create arch packages DB and remove pkgs 1.33 # not cooked for this arch from the commits list. 1.34 case "$ARCH" in 1.35 arm) 1.36 @@ -511,7 +511,7 @@ 1.37 for pkg in $(cat $commits) 1.38 do 1.39 if [ ! -f "$wok/$pkg/arch.$ARCH" ]; then 1.40 - echo "Cooker arch : skip $pkg (not include in: $ARCH)" | \ 1.41 + echo "Cooker arch : skip $pkg (not included in: $ARCH)" | \ 1.42 log_commits 1.43 sed -i "/^${pkg}$/"d $commits 1.44 fi