# HG changeset patch # User Christophe Lincoln # Date 1304627229 -7200 # Node ID c7af43cc8a07aa24fc6d7612180ee8973f28fc9b # Parent f02a85a1f33dd2b029c0af9a4423f9cbae5531ce Explain receipt variable in README and small fix to CGI diff -r f02a85a1f33d -r c7af43cc8a07 README --- a/README Thu May 05 21:14:03 2011 +0200 +++ b/README Thu May 05 22:27:09 2011 +0200 @@ -34,6 +34,14 @@ * The work of a Build Bot, unix philosophy: one tool for one task * Cook a package if you receipt is crappy :-) +Cook variables used in receipt: + + * $src : Path to package source: wok/pkg/source + * $stuff : Path to package stuff: wok/pkg/stuff + * $fs : Path to package file system: wok/pkg/taz/*/fs + * $install : Path to all installed files by the package + Old style is _pkg and cook is compatible + Cook also manage packages list so they can be used for a personnal packages repository or sent to the official mirror. We create and use: @@ -51,7 +59,7 @@ a bloated script so please Keep It Short and Simple. Cmdline tool : /usr/bin/cooker -Web interface : /var/www/cooker +Web interface : /var/www/cgi-bin/cooker Cache folder : /home/slitaz/cache The web interface consist in one CGI script, 2 xHTML files and a CSS style. diff -r f02a85a1f33d -r c7af43cc8a07 web/cooker.cgi --- a/web/cooker.cgi Thu May 05 21:14:03 2011 +0200 +++ b/web/cooker.cgi Thu May 05 22:27:09 2011 +0200 @@ -197,7 +197,7 @@

Latest cook

-$(list_packages | sed s"#^\([^']* \)#\0#"g)
+$(list_packages | sed s"#^\([^']*\).* : #\0#"g)
 
EOT ;;