diff options
author | Dennis Felsing <dennis@felsin9.de> | 2018-01-08 10:49:00 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-01-08 10:49:00 +0100 |
commit | 5492190bc63326069233a8aaf9f2e567cfc555f8 (patch) | |
tree | 2b1c4c802a60ca97b72798a461329f24d30913a6 /ci/build.sh | |
parent | e23ea64c41e101d4e1d933f0b015f51cc6c2f7de (diff) | |
download | Nim-5492190bc63326069233a8aaf9f2e567cfc555f8.tar.gz |
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 :
Diffstat (limited to 'ci/build.sh')
-rw-r--r-- | ci/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build.sh b/ci/build.sh index a0fee1497..6321fffba 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -6,7 +6,7 @@ cd csources sh build.sh cd .. # Add Nim to the PATH -export PATH=$(pwd)/bin:$PATH +export PATH=$(pwd)/bin${PATH:+:$PATH} # Bootstrap. nim -v nim c koch |