# HG changeset patch # User Pascal Bellard # Date 1373301975 0 # Node ID 63ab72f9c816b84c200e87fb6997c83cf02cc0a7 # Parent c1bbd0a44da8ea66a23e060d042ee47f70fe9599 cooker.cgi: fix download link diff -r c1bbd0a44da8 -r 63ab72f9c816 web/cooker.cgi --- a/web/cooker.cgi Fri Jul 05 16:31:41 2013 +0200 +++ b/web/cooker.cgi Mon Jul 08 16:46:15 2013 +0000 @@ -270,8 +270,8 @@ if [ -d "$dir/fs" ]; then echo '
'
 			find $dir/fs -not -type d | xargs ls -ld | \
-				sed "s|\(.*\) /.*\(${dir#*wok}/fs\)\(.*\)|\1 \3|;s|^\([^-].*\)\(\(.*\)|\1\3|" | \
-				syntax_highlighter log
+				syntax_highlighter log | \
+				sed "s|\(.*\) /.*\(${dir#*wok}/fs\)\(.*\)|\1 \3|;s|^\([^-].*\)\(\(.*\)|\1\3|"
 			echo '
' else echo "
No files list for: $pkg
"