about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorJosh Stone <cuviper@gmail.com>2020-08-06 10:52:23 -0700
committerJosh Stone <jistone@redhat.com>2020-08-22 13:44:54 -0700
commit5c87749a271f82ab269603ade13867ffd50778ec (patch)
tree2af0c4323b9ca141612054121e1f76e50c74bcae /src/ci/docker
parenta210a293032ed29a92183e80ee1052ac23d04fa1 (diff)
downloadrust-5c87749a271f82ab269603ade13867ffd50778ec.tar.gz
rust-5c87749a271f82ab269603ade13867ffd50778ec.zip
Apply suggestions from code review
Flatten the INC definition to one line.

Co-authored-by: lzutao <taolzu@gmail.com>
Diffstat (limited to 'src/ci/docker')
-rwxr-xr-xsrc/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh b/src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh
index 0df30f96c22..d6ce2806e39 100755
--- a/src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh
+++ b/src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh
@@ -18,8 +18,7 @@ cd clang-build
 # For whatever reason the default set of include paths for clang is different
 # than that of gcc. As a result we need to manually include our sysroot's
 # include path, /rustroot/include, to clang's default include path.
-INC="/rustroot/include"
-INC="$INC:/usr/include"
+INC="/rustroot/include:/usr/include"
 
 hide_output \
     cmake ../llvm \