[Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

John Stoneham captnjameskirk at gmail.com
Wed Oct 15 22:50:07 CEST 2008


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.

Also "basename" is overkill for removing suffixes (it's actually a separate
program, like sed), and you'd still need to call it twice to remove both
suffixes.

-- 
_| ( ) |-| |\|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081015/5ec8f4c5/attachment-0007.html>


More information about the Lazarus mailing list