diff options
author | des <des@FreeBSD.org> | 2014-07-24 17:43:42 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2014-07-24 17:43:42 +0000 |
commit | 7ae51a973c5c4d83d384bc53a3ea10a0e929f488 (patch) | |
tree | fa50ba64461d7ba614d186c41b882148e941f258 /usr.sbin/bsdinstall/scripts/mirrorselect | |
parent | 08377668fc16b0d571e24692f634f848b4bf1f50 (diff) | |
download | FreeBSD-src-7ae51a973c5c4d83d384bc53a3ea10a0e929f488.zip FreeBSD-src-7ae51a973c5c4d83d384bc53a3ea10a0e929f488.tar.gz |
Strip the patch level from the release name before trying to fetch the
distribution.
PR: 170264
Approved by: nathanw
MFC after: 1 week
Diffstat (limited to 'usr.sbin/bsdinstall/scripts/mirrorselect')
-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) |