[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:48:01 CEST 2008


John Stoneham schreef:
> 
> 
> On Wed, Oct 15, 2008 at 2:33 PM, John Stoneham <captnjameskirk at gmail.com 
> <mailto: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 :)
> 

Thanks, applied in r17013.

Vincent



More information about the Lazarus mailing list