svn commit: r270396 - stable/9/usr.sbin/bsdinstall/scripts

Dag-Erling Smørgrav des at FreeBSD.org
Sat Aug 23 11:32:48 UTC 2014


Author: des
Date: Sat Aug 23 11:32:48 2014
New Revision: 270396
URL: http://svnweb.freebsd.org/changeset/base/270396

Log:
  MFH (r269074): strip patch level from release name

Modified:
  stable/9/usr.sbin/bsdinstall/scripts/mirrorselect
Directory Properties:
  stable/9/usr.sbin/bsdinstall/   (props changed)
  stable/9/usr.sbin/bsdinstall/scripts/   (props changed)

Modified: stable/9/usr.sbin/bsdinstall/scripts/mirrorselect
==============================================================================
--- stable/9/usr.sbin/bsdinstall/scripts/mirrorselect	Sat Aug 23 11:32:43 2014	(r270395)
+++ stable/9/usr.sbin/bsdinstall/scripts/mirrorselect	Sat Aug 23 11:32:48 2014	(r270396)
@@ -159,6 +159,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-all mailing list