[Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]
Vincent Snijders
vincent.snijders at gmail.com
Wed Oct 15 23:57:17 CEST 2008
Henry Vermaak schreef:
> 2008/10/15 John Stoneham <captnjameskirk at gmail.com>:
>> On Wed, Oct 15, 2008 at 3:25 PM, Henry Vermaak <henry.vermaak at gmail.com>
>> wrote:
>>> yes, i know about that way, since i use bash, but i thought it was
>>> bash specific? have you tested with other shells? you can also use
>>> "basename" to remove suffixes.
>> Well, the script invokes bash to run itself (the she-bang on the first line
>> causes this), so it doesn't matter if the user is calling it from some other
>> shell.
>
> and what if bash is a symlink to something else? it's not uncommon at
> all to have different shells point at the one that's installed.
> certain versions of osx runs zsh (luckily that also supports
> ${name%pattern}).
If there is a symlink from bash to something else, it better support all
bash syntax....
Vincent
More information about the Lazarus
mailing list