Author: gjb
Date: Tue Aug 15 15:08:19 2017
New Revision: 322544
URL: https://svnweb.freebsd.org/changeset/base/322544

Log:
  Always expand the full path to the configuration file specified
  with the '-c' flag.
  
  MFC after:    3 days
  Sponsored by: The FreeBSD Foundation

Modified:
  head/release/release.sh

Modified: head/release/release.sh
==============================================================================
--- head/release/release.sh     Tue Aug 15 14:21:44 2017        (r322543)
+++ head/release/release.sh     Tue Aug 15 15:08:19 2017        (r322544)
@@ -397,7 +397,7 @@ main() {
        while getopts c: opt; do
                case ${opt} in
                        c)
-                               RELEASECONF="${OPTARG}"
+                               RELEASECONF="$(realpath ${OPTARG})"
                                ;;
                        \?)
                                usage
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to