summaryrefslogtreecommitdiff
path: root/.ci/docker-ccache-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/docker-ccache-setup.sh')
-rwxr-xr-x.ci/docker-ccache-setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/docker-ccache-setup.sh b/.ci/docker-ccache-setup.sh
index f9c1aa7..caba08a 100755
--- a/.ci/docker-ccache-setup.sh
+++ b/.ci/docker-ccache-setup.sh
@@ -5,7 +5,8 @@ CI_BUILD_TYPE="$1"
5cp .ci/ccache.conf ~/.ccache 5cp .ci/ccache.conf ~/.ccache
6 6
7if [ "$1" = "release-ready" ] ; then 7if [ "$1" = "release-ready" ] ; then
8 ccache -o base_dir="$(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)" 8 sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
9 echo "base_dir = $(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)" >> ~/.ccache/ccache.conf
9else 10else
10 sed -iE '/^base_dir/d' ~/.ccache/ccache.conf 11 sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
11 echo "base_dir = $pwd" >> ~/.ccache/ccache.conf 12 echo "base_dir = $pwd" >> ~/.ccache/ccache.conf