Always expand the full path to the configuration file specified

with the '-c' flag.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2017-08-15 15:08:19 +00:00
parent fb46c37596
commit dae40fc1b4

View File

@ -397,7 +397,7 @@ main() {
while getopts c: opt; do
case ${opt} in
c)
RELEASECONF="${OPTARG}"
RELEASECONF="$(realpath ${OPTARG})"
;;
\?)
usage