Skip to content

Commit 85e6be8

Browse files
authored
Merge pull request #63 from curl/samueloph/curl_options_placement
Set CURL_OPTIONS right before the url
2 parents 04d0e45 + 57f544e commit 85e6be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcurl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ exec_curl()
231231
[ -z "${OUTPUT_PATH}" ] && OUTPUT_PATH=index.html
232232
fi
233233
# shellcheck disable=SC2086
234-
set -- "$@" ${NEXT_PARAMETER} ${PER_URL_PARAMETERS} ${CURL_HAS_NO_CLOBBER} ${CURL_OPTIONS} --output "${OUTPUT_PATH}" "${url}"
234+
set -- "$@" ${NEXT_PARAMETER} ${PER_URL_PARAMETERS} ${CURL_HAS_NO_CLOBBER} --output "${OUTPUT_PATH}" ${CURL_OPTIONS} "${url}"
235235
NEXT_PARAMETER="--next"
236236
done
237237

0 commit comments

Comments
 (0)