- Code: Select all
if [ "${0##*/}" = "abt" ]
then
$VASTROOT_75/bin/es -mcd $IMAGE $*
else
$VASTROOT_75/bin/es -no_break $IMAGE $*
fi
Unfortunately, this has the effect of causing quoted command line arguments to be broken into individual arguments prior to being passed into VA. For example, "My Parameter" ends up being treated as two parameters, "My" and "Parameter".
The script should end in these lines:
- Code: Select all
if [ "${0##*/}" = "abt" ]
then
$VASTROOT_75/bin/es -mcd $IMAGE "$@"
else
$VASTROOT_75/bin/es -no_break $IMAGE "$@"
fi
which correctly pass on quoted parameters. I haven't checked, but this may also be an issue for other Unices as well.