svn commit: r269074 - head/usr.sbin/bsdinstall/scripts

Dag-Erling Smørgrav des at FreeBSD.org
Thu Jul 24 17:43:42 UTC 2014


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)


More information about the svn-src-head mailing list