Hi,
As part of fixing issue 617851 in the xvfb-run script, I had added a check to
make sure that the script is using a Korn(-like) shell.
Specifically, this code was added:
#
# Make sure we are running in a Korn(-like) shell.
#
set +e
HOME_DIR=`cd ~ 2>/dev/null`
if test $? -ne 0
then
echo
>> This is especially broken when "#/bin/sh" links to "dash" (now the
>> default shell on debian systems).
>
> That appears to be true, however. See #390433[2].
Thanks for the pointer. I'll see about getting a proper fix in the dash package.
On 2017-09-17 17:07 -0700, Rian Hunter wrote:
> Package: xvfb
> Version: 2:1.19.3-2
> Severity: normal
>
> xvfb-run uses "#!/bin/sh" as its shebang line. This is wrong because
> it uses bash-specific features like "trap on_cleanup EXIT".
No, this feature is not bash-specific, it is documented in
Package: xvfb
Version: 2:1.19.3-2
Severity: normal
xvfb-run uses "#!/bin/sh" as its shebang line. This is wrong because
it uses bash-specific features like "trap on_cleanup EXIT". This is
especially broken when "#/bin/sh" links to "dash" (now the default
shell on debian systems).
This causes the
4 matches
Mail list logo