From cdbb60e6a81800b1376752fbd99dbe8f47387266 Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Thu, 9 Jan 2020 09:49:25 +0100 Subject: [PATCH] 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. --- src/ci/shared.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci/shared.sh b/src/ci/shared.sh index 0bfd7ff26cf0e..206065d707245 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