aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/unix/sccache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/common/unix/sccache.sh')
-rwxr-xr-xcoin/provisioning/common/unix/sccache.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/coin/provisioning/common/unix/sccache.sh b/coin/provisioning/common/unix/sccache.sh
index 7adfed32..f20db84d 100755
--- a/coin/provisioning/common/unix/sccache.sh
+++ b/coin/provisioning/common/unix/sccache.sh
@@ -62,4 +62,11 @@ function installSccache {
# disable sccache server from shutting down after being idle
SetEnvVar "SCCACHE_IDLE_TIMEOUT" "0"
+
+ # copy sccache wrapper and place as a first in PATH
+ mkdir -p $HOME/sccache_wrapper
+ cp ${BASH_SOURCE%/*}/sccache_wrapper $HOME/sccache_wrapper/sccache
+ chmod 755 $HOME/sccache_wrapper/sccache
+ SetEnvVar "PATH" "$HOME/sccache_wrapper:\$PATH"
+
}