diff --git a/.gitlab-ci/container/container_pre_build.sh b/.gitlab-ci/container/container_pre_build.sh index a036ef9f39e..f7ea075691f 100755 --- a/.gitlab-ci/container/container_pre_build.sh +++ b/.gitlab-ci/container/container_pre_build.sh @@ -13,8 +13,8 @@ if test -x /usr/bin/ccache; then export CCACHE_COMPILERCHECK=content export CCACHE_COMPRESS=true - export CCACHE_DIR=/cache/$CI_PROJECT_NAME/ccache - export PATH=$CCACHE_PATH:$PATH + export CCACHE_DIR="/cache/$CI_PROJECT_NAME/ccache" + export PATH="$CCACHE_PATH:$PATH" # CMake ignores $PATH, so we have to force CC/GCC to the ccache versions. export CC="${CCACHE_PATH}/gcc"