ci: simplify ccache setup handling
authorStefan Schmidt <s.schmidt@samsung.com>
Thu, 4 Jun 2020 13:19:47 +0000 (15:19 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 8 Jun 2020 21:16:18 +0000 (06:16 +0900)
We no longer need the special case for release ready. This was needed
for the way autotools setup directories, which we no longer use. (We are
not having a config.log anymore)

Differential Revision: https://phab.enlightenment.org/D11937

.ci/docker-ccache-setup.sh

index caba08a..81406cb 100755 (executable)
@@ -4,10 +4,5 @@ CI_BUILD_TYPE="$1"
 
 cp .ci/ccache.conf ~/.ccache
 
-if [ "$1" = "release-ready" ] ; then
-  sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
-  echo "base_dir = $(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)" >> ~/.ccache/ccache.conf
-else
-  sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
-  echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
-fi
+sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
+echo "base_dir = $pwd" >> ~/.ccache/ccache.conf