summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2014-07-24 17:43:42 +0000
committerdes <des@FreeBSD.org>2014-07-24 17:43:42 +0000
commit7ae51a973c5c4d83d384bc53a3ea10a0e929f488 (patch)
treefa50ba64461d7ba614d186c41b882148e941f258 /usr.sbin
parent08377668fc16b0d571e24692f634f848b4bf1f50 (diff)
downloadFreeBSD-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')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/mirrorselect1
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)
OpenPOWER on IntegriCloud