# HG changeset patch # User Pascal Bellard # Date 1342078717 -7200 # Node ID b3b8e39cccf55e3fec7e15956550b243445cedf7 # Parent 114f1aa7ccab7a24263bb47362bb16addbc0ad6f cooker.cgi: add stuff links diff -r 114f1aa7ccab -r b3b8e39cccf5 web/cooker.cgi --- a/web/cooker.cgi Mon Jul 09 11:22:30 2012 +0200 +++ b/web/cooker.cgi Thu Jul 12 09:38:37 2012 +0200 @@ -239,10 +239,20 @@ echo "
No log file: $log
" fi ;; esac ;; + stuff=*) + file=${QUERY_STRING#stuff=} + echo "

$file

" + echo '
'
+		cat $wok/$file
+		echo '
' ;; receipt=*) pkg=${QUERY_STRING#receipt=} echo "

Receipt for: $pkg

" if [ -f "$wok/$pkg/receipt" ]; then + ( cd $wok/$pkg ; find stuff -type f 2> /dev/null ) | \ + while read file ; do + echo "$file" + done echo '
'
 			cat $wok/$pkg/receipt | syntax_highlighter receipt
 			echo '
'