svn commit: r322818 - stable/10/release

Glen Barber gjb at FreeBSD.org
Wed Aug 23 17:47:59 UTC 2017


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


More information about the svn-src-all mailing list