[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:36:42 CEST 2008


On Wed, Oct 15, 2008 at 2:33 PM, John Stoneham <captnjameskirk at gmail.com>wrote:

>
> Alright, I don't know what the deal is with sed on OS X, if it's behaving
> properly or what (sed syntax has always eluded me). Anyway I've attached two
> patch files that correct build_lcl_html.sh and build_gtkintf_html.sh to work
> on OS X (and linux, too -- they may have worked on linux before the patch,
> but they work with the patch too, so I believe this should be the preferred
> solution on both platforms). Instead of adding two lines, I replaced the
> line that used sed with the built-in bash string processing to remove the
> .pp, and added one line to remove any .pas as well. Sed is just overkill
> here, and besides it doesn't work as written on OS X. And the new version is
> shorter by 12 bytes, too. :)
>
> --
> _| ( ) |-| |\|
>


Sorry, but something happened when I created the diff patch for one of the
files. The two attached here should be the correct patch files (I actually
double-checked them this time :)

-- 
_| ( ) |-| |\|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081015/5b22667c/attachment-0007.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_gtkintf_html.patch
Type: application/octet-stream
Size: 422 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081015/5b22667c/attachment-0014.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_lcl_html.patch
Type: application/octet-stream
Size: 414 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081015/5b22667c/attachment-0015.obj>


More information about the Lazarus mailing list