install-bonus.sh both for Linux and for Mac


Current "Additional scripts and tools only (.tgz archive)" is suitable for Linux only. But I want to use it for My Mac.

So I improve install-bonus.sh ( and uninstall-bonus.sh ) both for Linux and for Mac.

I attache these diff files. I try it for both, Of course, succeeded.

file attachments

Closed Jan 27, 2013 at 10:57 PM by quasilord1


dw3w4at wrote Nov 20, 2010 at 3:40 PM


for Mac it must be manual setting for env $FSHARP_COMPILER_BIN

tomasp wrote Nov 28, 2010 at 3:30 AM

Thanks for the diffs! In the end, I ended up using a little bit more advanced version of the script I wrote for the MonoDevelop F# plugin configuration: https://github.com/fsharp/fsharpbinding/blob/master/configure.sh

dw3w4at wrote Nov 28, 2010 at 1:07 PM

IMO, we should use "Current" symlink for Mac's path because its part varies with the version of Mono. In facxt, the latest version of Mono is 2.8.1 and its path is "/Library/Frameworks/Mono.framework/Versions/2.8.1/". So using "/Library/Frameworks/Mono.framework/Versions/Current/" is better.