diff options
author | Jonas Smedegaard <dr@jones.dk> | 2005-12-05 17:37:27 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2005-12-05 17:37:27 +0000 |
commit | f130c87ccac4195b613073c8b6f0862adc28dd02 (patch) | |
tree | 21b8487031b2560ff61100951473b071b20516e2 /localpbuilder-create | |
parent | a6b0ef1fe9a951d9a85c34393166615ab8d41494 (diff) |
Use ccache.
Diffstat (limited to 'localpbuilder-create')
-rwxr-xr-x | localpbuilder-create | 3 |
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" \ |