[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 "$PROGNAME: This script must be run using a Korn or Bash shell."

   exit 7

fi

 

set -e

 

Thanks,

 

Joel

 

 

 


Reply to: