cookutils diff cooks @ rev 854
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Dec 21 17:36:29 2016 +0000 (2016-12-21) |
parents | 9e21916774fb |
children | 91d0347ac834 |
line diff
1.1 --- a/cooks Mon Dec 19 05:42:15 2016 +0200 1.2 +++ b/cooks Wed Dec 21 17:36:29 2016 +0000 1.3 @@ -1,6 +1,6 @@ 1.4 #!/bin/sh 1.5 -# Cook specified package and then cook all the splitted packages 1.6 -# that builds from the files of just builded package 1.7 +# Cook specified package and then cook all the split packages 1.8 +# that build from the files of just built packages 1.9 1.10 case "$1" in 1.11 --help|-h) 1.12 @@ -25,10 +25,10 @@ 1.13 splitted=$(SPLIT=''; . $WOK/$pkg/receipt; echo $SPLIT) 1.14 1.15 # $SPLIT may contain the "*-dev" somewhere already if cooking order is significant. 1.16 -# Cook the "*-dev" first if order is unsignificant. 1.17 +# Cook the "*-dev" first if order is insignificant. 1.18 [ "${splitted/$pkg-dev/}" == "$splitted" ] && splitted="$pkg-dev $splitted" 1.19 1.20 -# (re-)cook all existed packages 1.21 +# (re-)cook all existing packages 1.22 for i in $splitted; do 1.23 [ -d "$WOK/$i" ] && cook $i 1.24 done