diff options
author | Jonas Smedegaard <dr@jones.dk> | 2011-05-21 19:30:37 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2011-05-21 19:35:07 +0200 |
commit | 35ec60f02489c9f81ac9ae37b3930353c2c37820 (patch) | |
tree | 67311271b06ff8901662efc086212af60918a89a /localpbuilder-update | |
parent | c209fbe3f2f6dd24776ca0649182b532490f21d9 (diff) |
Suppress cowbuilder/pbuilder cache (use approx instead.
Diffstat (limited to 'localpbuilder-update')
-rwxr-xr-x | localpbuilder-update | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/localpbuilder-update b/localpbuilder-update index f00b6e3..abc5ff5 100755 --- a/localpbuilder-update +++ b/localpbuilder-update @@ -38,8 +38,11 @@ if [ $# -eq 0 ]; then fi for pool in $@; do + basetgz="/var/cache/pbuilder/base-$pool.tgz" + buildplace="/var/cache/pbuilder/build-$pool/" + aptcache="" sudo pbuilder update \ - --basetgz /var/cache/pbuilder/base-$pool.tgz \ - --buildplace /var/cache/pbuilder/build-$pool/ \ - --aptcache /var/cache/pbuilder/aptcache-$pool/ + --basetgz "$basetgz" \ + --buildplace "$buildplace" \ + --aptcache "$aptcache" done |