Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 11:32:48 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r270396 - stable/9/usr.sbin/bsdinstall/scripts
Message-ID:  <201408231132.s7NBWmdc059120@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408231132.s7NBWmdc059120>