aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-05-21 18:38:29 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-05-21 18:38:29 +0200
commit6592b1a3fccb37b7d8f2ebb3d32b53ca10c9dcfa (patch)
treee3c01d18f6655a2325b4c335908193323f8d7751 /.gitlab-ci.yml
parentd6eb4a26648817f6b034e95c02622cadf0fa65ca (diff)
[ci] [gitlab] Fix printenv sorting for variables that span multiple lines.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c010da4cf..74d2620bd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,7 +35,7 @@ docker-boot:
before_script:
- cat /proc/{cpu,mem}info || true
- ls -a # figure out if artifacts are around
- - printenv | sort
+ - printenv -0 | sort -z | tr '\0' '\n'
- declare -A switch_table
- switch_table=( ["base"]="$COMPILER" ["edge"]="$COMPILER_BE" )
- opam switch -y "${switch_table[$OPAM_SWITCH]}$OPAM_VARIANT"