Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2020 16:31:19 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org
Subject:   svn commit: r365839 - releng/12.2/sys/conf
Message-ID:  <202009171631.08HGVJqE034248@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Thu Sep 17 16:31:19 2020
New Revision: 365839
URL: https://svnweb.freebsd.org/changeset/base/365839

Log:
  MFS12 r365838:
   MFC r365646, r365720:
   r365646:
    Enclose BRANCH_OVERRIDE in quotes in order to fix an issue with
    freebsd-update(8) builds, where BRANCH is suffixed with -p0 for
    builds.
  
   r365720 (gordon):
    Partially revert r346018 and use the if/then construct instead of
    shell.
  
  Approved by:	re (kib)
  Sponsored by:	Rubicon Communications, LLC (netgate.com)

Modified:
  releng/12.2/sys/conf/newvers.sh
Directory Properties:
  releng/12.2/   (props changed)

Modified: releng/12.2/sys/conf/newvers.sh
==============================================================================
--- releng/12.2/sys/conf/newvers.sh	Thu Sep 17 16:09:38 2020	(r365838)
+++ releng/12.2/sys/conf/newvers.sh	Thu Sep 17 16:31:19 2020	(r365839)
@@ -49,7 +49,10 @@
 
 TYPE="FreeBSD"
 REVISION="12.2"
-BRANCH=${BRANCH_OVERRIDE:-BETA1-p1}
+BRANCH="BETA1-p1"
+if [ -n "${BRANCH_OVERRIDE}" ]; then
+	BRANCH=${BRANCH_OVERRIDE}
+fi
 RELEASE="${REVISION}-${BRANCH}"
 VERSION="${TYPE} ${RELEASE}"
 



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