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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to