about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2020-01-09 09:49:25 +0100
committerPietro Albini <pietro@pietroalbini.org>2020-01-09 09:49:25 +0100
commitcdbb60e6a81800b1376752fbd99dbe8f47387266 (patch)
treeac96155c2e7280634a521d635b48c4a4bbd2857c /src/ci
parentadc65725004c8aac16392fe4052c3e347181157d (diff)
ci: another take at fixing toolstate
Seems like the variable showed by $(ciCheckoutPath) on Azure Pipelines
was wrong, making the toolstate script fail. This commit changes that
function to return the variable previously used by the toolstate script.
Other uses of the function were audited, and there should be no
conflict.
Diffstat (limited to 'src/ci')
-rw-r--r--src/ci/shared.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/shared.sh b/src/ci/shared.sh
index 0bfd7ff26cf..206065d7072 100644
--- a/src/ci/shared.sh
+++ b/src/ci/shared.sh
@@ -80,7 +80,7 @@ function ciCommit {
 
 function ciCheckoutPath {
     if isAzurePipelines; then
-        echo "${SYSTEM_WORKFOLDER}"
+        echo "${BUILD_SOURCESDIRECTORY}"
     elif isGitHubActions; then
         echo "${GITHUB_WORKSPACE}"
     else