Bug#876058: xvfb-run does not use /bin/bash in shebang line

2019-02-04 Thread Joel Rabinovitch
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

Bug#876058: xvfb-run does not use /bin/bash in shebang line

2017-09-25 Thread Rian Hunter
>> 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.

Bug#876058: xvfb-run does not use /bin/bash in shebang line

2017-09-25 Thread Sven Joachim
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

Bug#876058: xvfb-run does not use /bin/bash in shebang line

2017-09-17 Thread Rian Hunter
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