summaryrefslogtreecommitdiff
path: root/localpbuilder-update
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 /localpbuilder-update
parenta6b0ef1fe9a951d9a85c34393166615ab8d41494 (diff)
Use ccache.
Diffstat (limited to 'localpbuilder-update')
-rwxr-xr-xlocalpbuilder-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/localpbuilder-update b/localpbuilder-update
index 32a7c82..8803e4a 100755
--- a/localpbuilder-update
+++ b/localpbuilder-update
@@ -9,6 +9,9 @@ fi
pool=$1
+export CCACHE_DIR="/var/cache/pbuilder/ccache-$pool"
+export PATH="/usr/lib/ccache:${PATH}"
+
sudo pbuilder update \
--basetgz /var/cache/pbuilder/base-$pool.tgz \
--buildplace /var/cache/pbuilder/build-$pool/ \