aboutsummaryrefslogtreecommitdiff
path: root/examples/pbuilderrc.ccache
blob: cc963af84aaa9a821e5ad53166251654cceb3045 (plain)
1
2
3
4
5
6
7
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