From: Roland Rosenfeld Date: Fri, 17 Jan 2025 19:29:53 +0000 (+0100) Subject: tests/cts/runtests-wrapper: make curl_source_directory configurable X-Git-Tag: v_4_0_0~1 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=c8688eeeb5dbca52028718469e61a8558ce95829;p=privoxy.git tests/cts/runtests-wrapper: make curl_source_directory configurable by setting CURL_SOURCE_DIRECTORY environment variable. --- diff --git a/tests/cts/runtests-wrapper.sh b/tests/cts/runtests-wrapper.sh index e56a408f..851175f8 100755 --- a/tests/cts/runtests-wrapper.sh +++ b/tests/cts/runtests-wrapper.sh @@ -52,7 +52,7 @@ runtests_wrapper() { test_dir="$(realpath "${directory_name}")" privoxy_source_directory="$(realpath "${test_dir}"/../..)" privoxy_lib="${privoxy_source_directory}/tests/cts/privoxy-runtests.pm" - curl_source_directory="$(realpath "${privoxy_source_directory}"/../curl)" + curl_source_directory=${CURL_SOURCE_DIRECTORY:-"$(realpath "${privoxy_source_directory}"/../curl)"} curl_setup_is_sane "${curl_source_directory}" || exit 1