aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-07-22 13:17:02 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-07-22 13:17:02 +0900
commitc3e3997927b2792f7cde839c1b3f24384828be16 (patch)
treebf76d02f16d6a08898cd2cc2c05e480d054dbfd1 /examples
parent141d7b068bba8c5f460dd4f90f87126c0404dd5e (diff)
downloadpbuilder-c3e3997927b2792f7cde839c1b3f24384828be16.tar
pbuilder-c3e3997927b2792f7cde839c1b3f24384828be16.tar.gz
* add example configuration file for ccache.
Diffstat (limited to 'examples')
-rw-r--r--examples/pbuilderrc.ccache8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/pbuilderrc.ccache b/examples/pbuilderrc.ccache
new file mode 100644
index 0000000..cc963af
--- /dev/null
+++ b/examples/pbuilderrc.ccache
@@ -0,0 +1,8 @@
+export CCACHE_DIR="/var/cache/pbuilder/ccache"
+export PATH="/usr/lib/ccache:${PATH}"
+EXTRAPACKAGES="ccache ${EXTRAPACKAGES}"
+BINDMOUNTS="${CCACHE_DIR} ${BINDMOUNTS}"
+mkdir -p "${CCACHE_DIR}" 2> /dev/null || true
+if [ -n "${BUILDUSERID}" ]; then
+ chown "${BUILDUSERID}":"${BUILDUSERID}" "${CCACHE_DIR}" || true
+fi