Package: devscripts
Version: 2.10.3
Severity: minor
Tags: patch

Hi,

Since the TZ support was implemented in debchange, I get warnings upon
invocation:

  $ dch
  Use of uninitialized value in concatenation (.) or string at
  /usr/bin/dch line 191.
  Use of uninitialized value in string ne at /usr/bin/dch line 213.

As far as I see, this is caused by the following line:

  184        'DEBCHANGE_TZ' => $ENV{TZ}, # undef if TZ unset

because $config_vars{DEBCHANGE_TZ} is used later.

Adding ||'' as in:

            'DEBCHANGE_TZ' => $ENV{TZ}||'', # undef if TZ unset

shall avoid the warning.


Thanks for considering,
    dam
-- System Information:
Debian Release: lenny/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/2 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  debianutils                   2.18       Miscellaneous utilities specific t
ii  dpkg-dev                      1.13.25    package building tools for Debian
ii  libc6                         2.5-2      GNU C Library: Shared libraries
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 
ii  sed                           4.1.5-1    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.7        Gives a fake root environment

-- no debconf information


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

Reply via email to