aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-11-06 14:24:42 +0100
committerGaëtan Gilbert2018-11-06 14:26:33 +0100
commit4e9e7b4f7ccf54d573ba890ee995ce0ab7a3fc48 (patch)
treec9888ed9729cc0505d955b8a070a87f9e89ac97c /dev
parentf6033667bd9b8069308d4bcba420c4ce0771e44f (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')
-rwxr-xr-xdev/build/windows/makecoq_mingw.sh2
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-}"