cookutils diff web/cooker.cgi @ rev 865

Split modules/compressor (~500 lines of code) from cook.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 11 11:53:04 2017 +0200 (2017-01-11)
parents 1520231a65c2
children 5f6be706ab4f
line diff
     1.1 --- a/web/cooker.cgi	Mon Jan 09 04:37:12 2017 +0200
     1.2 +++ b/web/cooker.cgi	Wed Jan 11 11:53:04 2017 +0200
     1.3 @@ -16,7 +16,7 @@
     1.4  commits="$CACHE/commits"
     1.5  cooklist="$CACHE/cooklist"
     1.6  cookorder="$CACHE/cookorder"
     1.7 -command="$CACHE/command"
     1.8 +command="$CACHE/command"; touch $command
     1.9  blocked="$CACHE/blocked"
    1.10  broken="$CACHE/broken"
    1.11  cooknotes="$CACHE/cooknotes"
    1.12 @@ -315,7 +315,7 @@
    1.13  			bpkg=$pkg
    1.14  			. $wok/$pkg/receipt
    1.15  
    1.16 -			[ -n "$WANTED" ] && bpkg="$WANTED"
    1.17 +			[ -n "$WANTED" ] && bpkg="${WANTED%% *}" # see locale-* with multiple WANTED
    1.18  			[ -n "$WEB_SITE" ] && # busybox wget -s $WEB_SITE &&
    1.19  			echo "<a href='$WEB_SITE'>home</a>"
    1.20