summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2017-08-23 17:47:57 +0000
committergjb <gjb@FreeBSD.org>2017-08-23 17:47:57 +0000
commit98df8808f5f53ab0596c8ad510a8f4a83a1113ec (patch)
tree7329960f13d000699ae7c63b177c4886bb7f525c
parentcf7edb6f8a8bfa0757ee645985341e7298d5dd40 (diff)
downloadFreeBSD-src-98df8808f5f53ab0596c8ad510a8f4a83a1113ec.zip
FreeBSD-src-98df8808f5f53ab0596c8ad510a8f4a83a1113ec.tar.gz
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
-rwxr-xr-xrelease/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/release.sh b/release/release.sh
index 6dc4a28..0394036 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -384,7 +384,7 @@ main() {
while getopts c: opt; do
case ${opt} in
c)
- RELEASECONF="${OPTARG}"
+ RELEASECONF="$(realpath ${OPTARG})"
;;
\?)
usage
OpenPOWER on IntegriCloud