summaryrefslogtreecommitdiff
path: root/localpbuilder-update
diff options
context:
space:
mode:
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/ \