[tor-commits] [tor/maint-0.4.5] ci: Missing source dir when parsing configure.ac version

dgoulet at torproject.org dgoulet at torproject.org
Tue Oct 26 18:35:19 UTC 2021


commit 14385ce71e1d7bddc671d3805d3b7dcb17eeded9
Author: David Goulet <dgoulet at torproject.org>
Date:   Tue Oct 26 14:33:31 2021 -0400

    ci: Missing source dir when parsing configure.ac version
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 scripts/ci/ci-driver.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ci/ci-driver.sh b/scripts/ci/ci-driver.sh
index 67a95a1f61..f99e45e6f2 100755
--- a/scripts/ci/ci-driver.sh
+++ b/scripts/ci/ci-driver.sh
@@ -287,7 +287,7 @@ fi
 #############################################################################
 # Determine the version of Tor.
 
-TOR_VERSION=$(grep -m 1 AC_INIT configure.ac | sed -e 's/.*\[//; s/\].*//;')
+TOR_VERSION=$(grep -m 1 AC_INIT ${CI_SRCDIR}/configure.ac | sed -e 's/.*\[//; s/\].*//;')
 
 # Use variables like these when we need to behave differently depending on
 # Tor version.  Only create the variables we need.





More information about the tor-commits mailing list