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.
This commit is contained in:
Pietro Albini 2020-01-09 09:49:25 +01:00
parent adc6572500
commit cdbb60e6a8
No known key found for this signature in database
GPG Key ID: 3E06ABE80BAAF19C

View File

@ -80,7 +80,7 @@ function ciCommit {
function ciCheckoutPath {
if isAzurePipelines; then
echo "${SYSTEM_WORKFOLDER}"
echo "${BUILD_SOURCESDIRECTORY}"
elif isGitHubActions; then
echo "${GITHUB_WORKSPACE}"
else