From 5492190bc63326069233a8aaf9f2e567cfc555f8 Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Mon, 8 Jan 2018 10:49:00 +0100 Subject: Fix lists of paths in posix environment (#7034) Empty paths in a colon separated list would be considered as the current directory, so have to ensure $PATH and $LD_LIBRARY_PATH are not empty before separating it with : --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 76c94c8e7..c37b4c8d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ stages: .linux_set_path: &linux_set_path_def before_script: - - export PATH=$(pwd)/bin:$PATH + - export PATH=$(pwd)/bin${PATH:+:$PATH} tags: - linux -- cgit 1.4.1-2-gfad0