summaryrefslogtreecommitdiff
path: root/localpdebuild
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2005-12-05 17:37:27 +0000
committerJonas Smedegaard <dr@jones.dk>2005-12-05 17:37:27 +0000
commitf130c87ccac4195b613073c8b6f0862adc28dd02 (patch)
tree21b8487031b2560ff61100951473b071b20516e2 /localpdebuild
parenta6b0ef1fe9a951d9a85c34393166615ab8d41494 (diff)
Use ccache.
Diffstat (limited to 'localpdebuild')
-rwxr-xr-xlocalpdebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/localpdebuild b/localpdebuild
index 869ddf2..c3d85b8 100755
--- a/localpdebuild
+++ b/localpdebuild
@@ -46,6 +46,9 @@ while [ $# -gt 0 ]; do
done
pbuilderopts="$pbuilderopts $@"
+export CCACHE_DIR="/var/cache/pbuilder/ccache-$pool"
+export PATH="/usr/lib/ccache:${PATH}"
+
pdebuild \
--buildresult $HOME/src/pbuild-$pool/ \
${debbuildopts:+--debbuildopts $debbuildopts} \