Package: git-buildpackage
Version: 0.6.22
Severity: important

Dear Maintainer,

I have several cow images and set the DIST env variable to easily switch
between them. I found that `git-buildpackage --git-pbuilder` does not
receive the DIST variable I have set:

    $ DIST=mydist git-buildpackage --git-pbuilder
    Building with cowbuilder for distribution sid
                                              ^^^--- wrong!

The workaround is to use either:

a) --git-builder=git-pbuilder`:

    $ git-buildpackage --git-builder=git-pbuilder
    building with cowbuilder for distribution mydist
                                              ^^^^^^--- good!

b) --git-pbuilder --git-dist=mydist

    $ git-buildpackage --git-pbuilder --git-dist=mydist
    building with cowbuilder for distribution mydist
                                              ^^^^^^--- good!

The function handling the --git-pbuilder command does not seem to pass
the whole OS environement when invoking `git-pbuilder`. Unlike
--git-builder which does pass the OS env.

--git-dist should probably be set to default to whatever is provided in
the DIST env variable.


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git-buildpackage depends on:
ii  devscripts            2.15.1
ii  git                   1:2.1.4-2.1
ii  man-db                2.7.0.2-5
ii  python                2.7.8-3
ii  python-dateutil       2.2-2
ii  python-pkg-resources  5.5.1-1

Versions of packages git-buildpackage recommends:
ii  cowbuilder    0.73
ii  pristine-tar  1.33

Versions of packages git-buildpackage suggests:
ii  python-notify  0.1.1-4
ii  unzip          6.0-16

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to