severity 341060 normal
tag 341060 unreproducible moreinfo
thanks
Hi Henrique!
Henrique de Moraes Holschuh [2005-11-28 0:22 -0200]:
> Package: sysfsutils
> Version: 1.3.0-3
> Severity: grave
> Justification: renders package unusable
>
> if [ "$f1" ] ;... is NOT valid shell syntax. Nor is [ ... -a "$f2" ].
> You're missing a "-n" in front of all bare string tests inside [ ].
The script runs fine with bash and dash, and [ "$foo" ] is common
practice and described in test(1):
-n STRING
the length of STRING is nonzero
STRING equivalent to -n STRING
Downgrading severity since this runs fine at least on the majority of
installations.
So what exactly breaks for you? According to your initial report you
have /bin/sh linked to /bin/bash, do you use another shell?
Please give me the output of sh -nx /etc/init.d/sysfsutils if it
really breaks for you.
severity 341060 normal
tag 341060 unreproducible moreinfo
thanks
Hi Henrique!
Henrique de Moraes Holschuh [2005-11-28 0:22 -0200]:
> Package: sysfsutils
> Version: 1.3.0-3
> Severity: grave
> Justification: renders package unusable
>
> if [ "$f1" ] ;... is NOT valid shell syntax. Nor is [ ... -a "$f2" ].
> You're missing a "-n" in front of all bare string tests inside [ ].
The script runs fine with bash and dash, and [ "$foo" ] is common
practice and described in test(1):
-n STRING
the length of STRING is nonzero
STRING equivalent to -n STRING
Downgrading severity since this runs fine at least on the majority of
installations.
So what exactly breaks for you? According to your initial report you
have /bin/sh linked to /bin/bash, do you use another shell?
Please give me the output of sh -nx /etc/init. d/sysfsutils if it
really breaks for you.
Thanks,
Martin www.piware. de www.ubuntu. com www.debian. org
--
Martin Pitt http://
Ubuntu Developer http://
Debian Developer http://
In a world without walls and fences, who needs Windows and Gates?