From a382af08f8adaa13ddf71b38dd30ff0b5b2cf96d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 24 Jul 2014 17:43:42 +0000 Subject: [PATCH] Strip the patch level from the release name before trying to fetch the distribution. PR: 170264 Approved by: nathanw MFC after: 1 week --- usr.sbin/bsdinstall/scripts/mirrorselect | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/bsdinstall/scripts/mirrorselect b/usr.sbin/bsdinstall/scripts/mirrorselect index ef17cfe61a2..af87f443653 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)