[Privoxy-commits] [privoxy] 01/02: tests/cts/runtests-wrapper: make curl_source_directory configurable

User Git git at git.privoxy.org
Fri Jan 17 20:34:51 CET 2025


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit c8688eeeb5dbca52028718469e61a8558ce95829
Author: Roland Rosenfeld <roland at debian.org>
AuthorDate: Fri Jan 17 20:29:53 2025 +0100

    tests/cts/runtests-wrapper: make curl_source_directory configurable
    
    by setting CURL_SOURCE_DIRECTORY environment variable.
---
 tests/cts/runtests-wrapper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list