diff options
| author | Gaëtan Gilbert | 2018-11-06 14:24:42 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2018-11-06 14:26:33 +0100 |
| commit | 4e9e7b4f7ccf54d573ba890ee995ce0ab7a3fc48 (patch) | |
| tree | c9888ed9729cc0505d955b8a070a87f9e89ac97c /dev/build/windows | |
| parent | f6033667bd9b8069308d4bcba420c4ce0771e44f (diff) | |
Fix overlays on Windows CI
"${foo+}" is always the empty string
"${foo-}" is "$foo" when foo is set and empty string when it's unset.
Diffstat (limited to 'dev/build/windows')
| -rwxr-xr-x | dev/build/windows/makecoq_mingw.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/build/windows/makecoq_mingw.sh b/dev/build/windows/makecoq_mingw.sh index c3d895784e..71207bb040 100755 --- a/dev/build/windows/makecoq_mingw.sh +++ b/dev/build/windows/makecoq_mingw.sh @@ -434,7 +434,7 @@ function build_prep_overlay { # ------------------------------------------------------------------------------ function load_overlay_data { - if [ -n "${GITLAB_CI+}" ]; then + if [ -n "${GITLAB_CI-}" ]; then export CI_BRANCH="$CI_COMMIT_REF_NAME" if [[ ${CI_BRANCH#pr-} =~ ^[0-9]*$ ]]; then export CI_PULL_REQUEST="${CI_BRANCH#pr-}" |
