diff options
author | Peter Wu <peter@lekensteyn.nl> | 2019-11-30 18:42:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-12-02 10:58:16 +0100 |
commit | 2126673bc5b0b84df4ca30dba471092ca9b79a44 (patch) | |
tree | 7ffea3b0ce08b232f703d10beda1b926eb6b0809 | |
parent | d9118e8d71578781bf8642e89e6fa0483d065e35 (diff) | |
download | curl-2126673bc5b0b84df4ca30dba471092ca9b79a44.tar.gz |
travis: do not use OVERRIDE_CC or OVERRIDE_CXX if empty
Fixes the macOS builds where OVERRIDE_CC and OVERRIDE_CXX are not set.
Reported-by: Jay Satiro
Closes #4661
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index c157f7c87..17e8283b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -439,8 +439,8 @@ matrix: - zlib1g-dev before_install: - - export "${OVERRIDE_CC}" - - export "${OVERRIDE_CXX}" + - [ -z "$OVERRIDE_CC" ] || export "${OVERRIDE_CC}" + - [ -z "$OVERRIDE_CXX" ] || export "${OVERRIDE_CXX}" install: - if [ "$T" = "coverage" ]; then pip2 install --user cpp-coveralls; fi |