summaryrefslogtreecommitdiff
path: root/localpbuilder-create
diff options
context:
space:
mode:
Diffstat (limited to 'localpbuilder-create')
-rwxr-xr-xlocalpbuilder-create3
1 files changed, 3 insertions, 0 deletions
diff --git a/localpbuilder-create b/localpbuilder-create
index 70de9aa..d5b7e41 100755
--- a/localpbuilder-create
+++ b/localpbuilder-create
@@ -11,6 +11,9 @@ pool=$1
distro=${2:-$pool}
othermirror=${3:+--othermirror $3}
+export CCACHE_DIR="/var/cache/pbuilder/ccache-$pool"
+export PATH="/usr/lib/ccache:${PATH}"
+
sudo pbuilder create \
--buildresult $HOME/src/pbuild-$pool/ \
--distribution "$distro" \