Package: git-buildpackage
Version: 0.5.10
Severity: wishlist
File: /usr/bin/git-pbuilder
Tags: patch


There had been a few reports which were customly addressed to overcome generic
problem of inability to pass custom pbuilder arguments.

Please consider minimalistic patch which would allow to tune OPTIONS
within environment before calling git-bp or git-pbuilder.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (901, 'unstable'), (900, 'testing'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-buildpackage depends on:
ii  devscripts                   2.10.67     scripts to make the life of a Debi
ii  git [git-core]               1:1.7.2.3-2 fast, scalable, distributed revisi
ii  git-core                     1:1.7.1-1.1 fast, scalable, distributed revisi
ii  python                       2.6.5-13    interactive high-level object-orie
ii  python-dateutil              1.4.1-3     powerful extensions to the standar
ii  python-support               1.0.9       automated rebuilding support for P

Versions of packages git-buildpackage recommends:
ii  cowbuilder                    0.62       pbuilder running on cowdancer
ii  pristine-tar                  1.03       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
ii  git-load-dirs                 1.1.8      Import upstream archives into git

-- no debconf information
>From a9e3390cb6e68adec13ca3fd6bc56d7b874a4cee Mon Sep 17 00:00:00 2001
From: Yaroslav Halchenko <deb...@onerussian.com>
Date: Fri, 22 Oct 2010 18:54:01 -0400
Subject: [PATCH] allow to pass OPTIONS from the environment

---
 git-pbuilder |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-pbuilder b/git-pbuilder
index 50443c7..0133236 100755
--- a/git-pbuilder
+++ b/git-pbuilder
@@ -53,7 +53,7 @@ fi
 # 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 is set, use
 # base-$DIST-$ARCH.cow.
-OPTIONS=
+: ${OPTIONS:=}
 if [ -z "$DIST" ] ; then
     DIST=sid
 fi
-- 
1.7.2.3

Reply via email to