fix bug in the --ca-bundle param of passing -f to _readlink

When _readlink is called the -f param must not be passed. _readlink (with
leading underscore) is a wrapper around readlink (without leading
underscore). _readlink already passes -f to readlink, that's why it must
not be passed to _readlink.
This commit is contained in:
Holger Böhnke 2018-01-17 19:21:14 +01:00
parent 45e21d5000
commit 78d1cfb464

View File

@ -5510,7 +5510,7 @@ _process() {
HTTPS_INSECURE="1" HTTPS_INSECURE="1"
;; ;;
--ca-bundle) --ca-bundle)
_ca_bundle="$(_readlink -f "$2")" _ca_bundle="$(_readlink "$2")"
CA_BUNDLE="$_ca_bundle" CA_BUNDLE="$_ca_bundle"
shift shift
;; ;;