[Debconf-devel] Bug#522255: Bug#519165: also affects debconf

martin f krafft madduck at debian.org
Wed Apr 29 09:42:23 UTC 2009


also sprach Joey Hess <joeyh at debian.org> [2009.04.03.2047 +0200]:
> Since debconf's confmodule uses $@, to support being called
> from set -u maintainer scripts it would need to either
> set +u (not very nice since that would also affect its caller),
> or use ${@:+}. But this bug prevents the latter; so debconf's bug,
> #522255, is effectively blocked by this bug in bash.

As a workaround, you want to use ${@:-}, not ${@:+}.

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20090429/d170e944/attachment.pgp>


More information about the Debconf-devel mailing list