diff --git a/ci3/source_stdlib b/ci3/source_stdlib index 1b10e8002d26..a807dd9717f2 100644 --- a/ci3/source_stdlib +++ b/ci3/source_stdlib @@ -9,11 +9,11 @@ function hash_str_orig { function hash_str { set -eu - if [[ "$1" == *"disabled-cache"* ]]; then + if [[ "$*" == *"disabled-cache"* ]]; then # We want to propagate cache being disabled so that cache_upload and cache_download can catch this echo "disabled-cache" else - echo $1 | git hash-object --stdin | cut -c1-16 | tr -d '\n' + echo "$*" | git hash-object --stdin | cut -c1-16 | tr -d '\n' fi }