cookutils rev 853
cooker.cgi: sort doc links
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 20 12:55:39 2016 +0100 (2016-12-20) |
parents | abae537cdde9 |
children | b445a91a8be7 |
files | web/cooker.cgi |
line diff
1.1 --- a/web/cooker.cgi Mon Dec 19 09:49:22 2016 +0100 1.2 +++ b/web/cooker.cgi Tue Dec 20 12:55:39 2016 +0100 1.3 @@ -521,7 +521,7 @@ 1.4 esac 1.5 file=${file#$dir/} 1.6 echo "<a href='?$type=$pkg&file=$file'>$(basename $file)</a>" 1.7 - done | sort 1.8 + done | sort -t \> -k 2 1.9 echo "<h2>$(basename $page)</h2>" 1.10 tmp="$(mktemp)" 1.11 docat "$dir/$page" > $tmp