1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00

linux-rt: Avoid RCs

This commit is contained in:
Tim Steinbach 2021-04-26 10:55:58 -04:00 committed by Tim Steinbach
parent d70dced4fe
commit c6963522e0

View file

@ -37,6 +37,7 @@ latest-rt-version() {
branch="$1" # e.g. 5.4
curl -sL "$mirror/projects/rt/$branch/sha256sums.asc" |
sed -ne '/.patch.xz/ { s/.*patch-\(.*\).patch.xz/\1/p}' |
grep -v '\-rc' |
tail -n 1
}