summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-05-23 21:39:50 +0200
committerGuido Günther <agx@sigxcpu.org>2011-05-23 21:41:47 +0200
commitd8418992574ea72e1f8d847de67a208b6d72abd5 (patch)
treecef5984e06b55e2c1194aec76e2dbfa6bde3cc9e
parent682f343f1db0c8ace34a085d71b8463f01de5732 (diff)
git-pbuilder: Add git-pbuilder 1.22
Thanks: a lot Russ Allbery Closes: #623117
-rwxr-xr-x[-rw-r--r--]git-pbuilder9
1 files changed, 7 insertions, 2 deletions
diff --git a/git-pbuilder b/git-pbuilder
index ced2906f..d82b58b1 100644..100755
--- a/git-pbuilder
+++ b/git-pbuilder
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: git-pbuilder,v 1.21 2011-05-20 06:17:09 eagle Exp $
+# $Id: git-pbuilder,v 1.22 2011-05-23 06:03:13 eagle Exp $
#
# git-pbuilder -- Wrapper around pbuilder for git-buildpackage
#
@@ -67,7 +67,7 @@ case $BUILDER in
cowbuilder)
# The root directory where different cowbuilder --basepath directories
# are found. git-pbuilder expects them to be named base-<dist>.cow.
- COWBUILDER_BASE=/var/cache/pbuilder
+ : ${COWBUILDER_BASE:=/var/cache/pbuilder}
# If DIST is set, use base-$DIST.cow. If DIST is not set, the sid
# chroot may be either base.cow or base-sid.cow. Try both. If ARCH
@@ -264,6 +264,11 @@ B<qemubuilder>, this controls the path to the configuration file.
Sets the builder to use. The only supported settings are C<cowbuilder>
(the default) and C<qemubuilder>.
+=item COWBUILDER_BASE
+
+Set this environment variable to change the default location for the
+cowbuilder base directories (F</var/cache/pbuilder>).
+
=item DIST
Sets the target distribution. This is used primarily to determine the