# HG changeset patch # User Pascal Bellard # Date 1356969006 -3600 # Node ID 3c023aa7485f2593dbfd6623cd8beca36178afeb # Parent ed85e5a46db02938ebdf35fb9f946d35550df487 cooker.cgi: packages content downloadable diff -r ed85e5a46db0 -r 3c023aa7485f web/cooker.cgi --- a/web/cooker.cgi Tue Dec 11 22:19:21 2012 -0500 +++ b/web/cooker.cgi Mon Dec 31 16:50:06 2012 +0100 @@ -267,7 +267,8 @@ if [ -d "$dir/fs" ]; then echo '
'
 			find $dir/fs -not -type d | xargs ls -ld | \
-				sed "s|$dir/fs||" | syntax_highlighter log
+				sed "s|\(.*\) /.*\(${dir#*wok}/fs\)\(.*\)|\1 \3|" | \
+				syntax_highlighter log
 			echo '
' else echo "
No files list for: $pkg
"