Bug#637152: pbuilder: Bogus 'E: Command line parameter [ ] is not a valid .dsc file name' error
Thorsten Glaser
tg at mirbsd.de
Mon Aug 8 21:41:25 UTC 2011
Georgios M. Zarkadas dixit:
>leads to the error. Specifically, it passes an empty argument through
>"$@", which then makes the conditional code (while [ -n "$1" ]; do...
… and …
+ #ignore empty arguments (for the case "$@" is empty)
… but "$@" is not empty unless an empty argument is explicitly passed:
tg at blau:~ $ sh -c 'for i in "$@"; do echo -n x; done; echo .' 0
.
tg at blau:~ $ sh -c 'for i in "$@"; do echo -n x; done; echo .' 0 ""
x.
So this is fighting the symptoms and not a good fix.
Rather try to find out why there’s a "" passed in the first place.
bye,
//mirabilos
--
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
More information about the Pbuilder-maint
mailing list