diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-01-22 18:59:01 +0100 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-01-22 18:59:01 +0100 |
commit | 3c68bb92409c72467f7cd8ad683df15ea8371967 (patch) | |
tree | c31c5c2a3e910634314704d6717482b3211c9f6e | |
parent | e5b6b9412e0e744a870548b50aaba25bc92211f2 (diff) | |
download | librb-3c68bb92409c72467f7cd8ad683df15ea8371967.tar.gz librb-3c68bb92409c72467f7cd8ad683df15ea8371967.tar.bz2 librb-3c68bb92409c72467f7cd8ad683df15ea8371967.zip |
fix: sort releases from newest to oldest
-rwxr-xr-x | gen-download-page.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen-download-page.sh b/gen-download-page.sh index 28010f2..f0836bd 100755 --- a/gen-download-page.sh +++ b/gen-download-page.sh @@ -6,7 +6,7 @@ remote="http://distfiles.kurwinet.pl/${project}" # extract links to files links="$(curl "${remote}/" 2>/dev/null \ - | grep "${project}-[0-9]*\.[0-9]*\.[0-9]*\.")" + | grep "${project}-[0-9]*\.[0-9]*\.[0-9]*\." | sort -r)" exec 1<&- exec 1<>"${out}" |