summaryrefslogtreecommitdiff
path: root/localpdebuild
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-05-21 19:30:37 +0200
committerJonas Smedegaard <dr@jones.dk>2011-05-21 19:35:07 +0200
commit35ec60f02489c9f81ac9ae37b3930353c2c37820 (patch)
tree67311271b06ff8901662efc086212af60918a89a /localpdebuild
parentc209fbe3f2f6dd24776ca0649182b532490f21d9 (diff)
Suppress cowbuilder/pbuilder cache (use approx instead.
Diffstat (limited to 'localpdebuild')
-rwxr-xr-xlocalpdebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/localpdebuild b/localpdebuild
index 5ad993a..be22c3e 100755
--- a/localpdebuild
+++ b/localpdebuild
@@ -67,14 +67,19 @@ while [ $# -gt 0 ]; do
done
for pool in $pools; do
+ basetgz="/var/cache/pbuilder/base-$pool.tgz"
+ buildplace="/var/cache/pbuilder/build-$pool"
+ aptcache=""
+ hookdir="/var/cache/pbuilder/hooks-$pool/"
+ buildresult="$HOME/src/pbuild-$pool/"
pdebuild \
- --buildresult $HOME/src/pbuild-$pool/ \
+ --buildresult "$buildresult" \
${debbuildopts:+--debbuildopts "$debbuildopts"} \
$pdebuildopts \
-- \
- --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" \
--pkgname-logfile \
$@
done