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 committed 2018-01-17 19:21:14 +01:00
1 parent 45e21d5000
commit 78d1cfb464
1 file changed
+1 -1
+1 -1
View File
@@ -5510,7 +5510,7 @@ _process() {
HTTPS_INSECURE="1"
;;
--ca-bundle)
_ca_bundle="$(_readlink -f "$2")"
_ca_bundle="$(_readlink "$2")"
CA_BUNDLE="$_ca_bundle"
shift
;;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.