updated curl_auth.sh

pull/2/head
Hari Sekhon 4 years ago
parent ec8ff25583
commit 85c0cbd04d

@ -85,7 +85,7 @@ fi
# Instead of generating this for all known hosts above just do it for the host extracted from the args url now
if [ -z "$netrc_contents" ]; then
if [ -z "${netrc_contents:-}" ]; then
if ! [[ "$*" =~ :// ]]; then
usage "http(s):// not specified in URL"
fi

Loading…
Cancel
Save