diff options
author | des <des@FreeBSD.org> | 2014-08-23 11:32:43 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2014-08-23 11:32:43 +0000 |
commit | 37f594fcd2ed5eb0271a93fb4e66119b6ea96c71 (patch) | |
tree | 13f5fa6e85064270e0fa8cb49bebea4de7ca75a3 /usr.sbin/bsdinstall | |
parent | 7cd0a41fd93dcf1c22029be2025c476f61830572 (diff) | |
download | FreeBSD-src-37f594fcd2ed5eb0271a93fb4e66119b6ea96c71.zip FreeBSD-src-37f594fcd2ed5eb0271a93fb4e66119b6ea96c71.tar.gz |
MFH (r269074): strip patch level from release name
Diffstat (limited to 'usr.sbin/bsdinstall')
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/mirrorselect | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/scripts/mirrorselect b/usr.sbin/bsdinstall/scripts/mirrorselect index ef17cfe..af87f44 100755 --- a/usr.sbin/bsdinstall/scripts/mirrorselect +++ b/usr.sbin/bsdinstall/scripts/mirrorselect @@ -158,6 +158,7 @@ MIRROR_BUTTON=$? exec 3>&- _UNAME_R=`uname -r` +_UNAME_R=${_UNAME_R%-p*} case ${_UNAME_R} in *-CURRENT|*-STABLE|*-PRERELEASE) |