https://issues.apache.org/bugzilla/show_bug.cgi?id=55994

--- Comment #1 from Sebb <[email protected]> ---
(In reply to James Liang from comment #0)
...
> #! /bin/sh
> ## ...
> 
> # add the following starting line 32
> # resolve the true full path (e.g. called from outside of bin, called via
> symlinks, and etc.)
> SOURCE="${BASH_SOURCE[0]}"

That is specific to the Bash shell.

However, there are systems where /bin/sh is not the Bash shell.

For example, on a Ubuntu system I am currently using, Bash is at /bin/bash
whereas /bin/sh is the Bourne shell. On another system /bin/sh is indeed Bash.

The script must cater for the minimum supported command set.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to