From 923fa3642d3fa845ac48e92043d03e88c42d7298 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Fri, 20 Jan 2017 09:26:22 +0100 Subject: [PATCH] Force symlinking of ccache --- gitlab/before_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab/before_build.sh b/gitlab/before_build.sh index e9c6989..86a4599 100755 --- a/gitlab/before_build.sh +++ b/gitlab/before_build.sh @@ -24,8 +24,8 @@ if [ -z "${use_ccache}" ]; then log_warn "Cannot find ccache, compiling from scratch..." else log_info "ccache installed at ${use_ccache}, caching compilations..." - run_cmd ln -s ${use_ccache} ${PREFIX}/bin/gcc - run_cmd ln -s ${use_ccache} ${PREFIX}/bin/g++ + run_cmd ln -sf ${use_ccache} ${PREFIX}/bin/gcc + run_cmd ln -sf ${use_ccache} ${PREFIX}/bin/g++ fi # Source the newly created virtualenv -- GitLab