Author: des
Date: Thu Jul 24 17:43:42 2014
New Revision: 269074
URL: http://svnweb.freebsd.org/changeset/base/269074

Log:
  Strip the patch level from the release name before trying to fetch the
  distribution.
  
  PR:           170264
  Approved by:  nathanw
  MFC after:    1 week

Modified:
  head/usr.sbin/bsdinstall/scripts/mirrorselect

Modified: head/usr.sbin/bsdinstall/scripts/mirrorselect
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/mirrorselect       Thu Jul 24 16:33:29 
2014        (r269073)
+++ head/usr.sbin/bsdinstall/scripts/mirrorselect       Thu Jul 24 17:43:42 
2014        (r269074)
@@ -158,6 +158,7 @@ MIRROR_BUTTON=$?
 exec 3>&-
 
 _UNAME_R=`uname -r`
+_UNAME_R=${_UNAME_R%-p*}
 
 case ${_UNAME_R} in
        *-CURRENT|*-STABLE|*-PRERELEASE)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to