cookutils diff web/cooker.cgi @ rev 259

cook: set -e on genpkg_rules and fix for empty packages
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 03:23:23 2011 +0200 (2011-06-01)
parents db0df9e1b946
children 2f1937462fc5
line diff
     1.1 --- a/web/cooker.cgi	Sun May 29 21:00:54 2011 +0100
     1.2 +++ b/web/cooker.cgi	Wed Jun 01 03:23:23 2011 +0200
     1.3 @@ -45,7 +45,8 @@
     1.4  				-e s"#ftp://\([^']*\).*#<a href='\0'>\0</a>#"g	\
     1.5  				-e s"#http://\([^']*\).*#<a href='\0'>\0</a>#"g ;;
     1.6  		receipt)
     1.7 -			sed -e s"#^\#\([^']*\)#<span class='sh-comment'>\0</span>#"g \
     1.8 +			sed -e s'|&|\&amp;|g' -e 's|<|\&lt;|g' -e 's|>|\&gt;|'g \
     1.9 +				-e s"#^\#\([^']*\)#<span class='sh-comment'>\0</span>#"g \
    1.10  				-e s"#\"\([^']*\)\"#<span class='sh-val'>\0</span>#"g ;;
    1.11  		diff)
    1.12  			sed -e 's|&|\&amp;|g' -e 's|<|\&lt;|g' -e 's|>|\&gt;|g' \