Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2017 17:47:57 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r322818 - stable/10/release
Message-ID:  <201708231747.v7NHlvGm012137@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Wed Aug 23 17:47:57 2017
New Revision: 322818
URL: https://svnweb.freebsd.org/changeset/base/322818

Log:
  MFC r322544:
   Always expand the full path to the configuration file specified
   with the '-c' flag.  This fixes an issue where the configuration
   file would not properly be located intermittently.
  
  Approved by:	re (kib, marius)
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/release/release.sh
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/release/release.sh
==============================================================================
--- stable/10/release/release.sh	Wed Aug 23 17:12:26 2017	(r322817)
+++ stable/10/release/release.sh	Wed Aug 23 17:47:57 2017	(r322818)
@@ -384,7 +384,7 @@ main() {
 	while getopts c: opt; do
 		case ${opt} in
 			c)
-				RELEASECONF="${OPTARG}"
+				RELEASECONF="$(realpath ${OPTARG})"
 				;;
 			\?)
 				usage



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