Processing commands for [EMAIL PROTECTED]:
tags 485511 +pending
Bug#485511: pioneers-console: maintainer scripts fail with dash as /bin/sh
There were no tags set.
Tags added: pending
thanks
Stopping processing here.
Please contact me if you need assistance.
Debian bug tracking system
tags 485511 +pending
thanks
Hi,
On Mon, Jun 09, 2008 at 06:40:45PM -0400, Aaron M. Ucko wrote:
test ! -r $CONFFILE || . $CONFFILE
fails if the configuration file contains no content (as it does by
default), as test's non-zero exit status ends up standing.
Dash considers it an error to
Bas Wijnen [EMAIL PROTECTED] writes:
Dash considers it an error to source an empty file? Strange...
AFAICT, it considers it a no-op, so that $? still comes from test,
which in this case necessarily returns non-zero. I'm not sure what
the standard says about that scenario, but the workaround's
Package: pioneers-console
Version: 0.12.2-2
Severity: serious
Justification: Policy 10.4
I ran into a couple of problems with pioneer-console's maintainer
scripts, which evidently expect /bin/sh to be bash. For one thing,
the postinst's use of
test ! -r $CONFFILE || . $CONFFILE
fails if the
4 matches
Mail list logo