cookutils diff web/cooker.cgi @ rev 172

cook: keep old style compatibility for SOURCE_REPOSITORY
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 11:34:19 2011 +0200 (2011-05-17)
parents ccc898c42997
children e3baad2c181f
line diff
     1.1 --- a/web/cooker.cgi	Thu May 12 11:25:13 2011 +0200
     1.2 +++ b/web/cooker.cgi	Tue May 17 11:34:19 2011 +0200
     1.3 @@ -20,6 +20,7 @@
     1.4  blocked="$CACHE/blocked"
     1.5  broken="$CACHE/broken"
     1.6  cooknotes="$CACHE/cooknotes"
     1.7 +wokrev="$CACHE/wokrev"
     1.8  
     1.9  #
    1.10  # Functions
    1.11 @@ -203,8 +204,7 @@
    1.12  
    1.13  <pre>
    1.14  Running command  : $([ -s "$command" ] && cat $command || echo "Not running")
    1.15 -Wok revision     : <a href="http://hg.slitaz.org/wok">$(cd $WOK && \
    1.16 -	hg head --template '{rev}\n' || echo "No Hg wok")</a>
    1.17 +Wok revision     : <a href="http://hg.slitaz.org/wok">$(cat $wokrev)</a>
    1.18  Commits to cook  : $(cat $commits | wc -l)
    1.19  Current cooklist : $(cat $cooklist | wc -l)
    1.20  Broken packages  : $(cat $broken | wc -l)