Bug#522255: Bug#519165: also affects debconf

2009-04-29 Thread martin f krafft
also sprach martin f krafft  [2009.04.29.1142 +0200]:
> also sprach Joey Hess  [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 ${@:+}.

I am wrong, see my message to 519165:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519165#45

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Bug#519165: also affects debconf

2009-04-29 Thread martin f krafft
also sprach Joey Hess  [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   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Bug#519165: also affects debconf

2009-04-03 Thread Joey Hess
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.

-- 
see shy jo


signature.asc
Description: Digital signature