[Mono-dev] correction for "Compiling Mono on WIndows' page.

Adar Wesley adar.wesley at gmail.com
Sat Feb 14 08:21:38 EST 2009

Hi Lucas,

This depends on the shell you are using.  If you are using /bin/bash or
/bin/sh derivative the instructions are correct.
Call the script directly as:
to run the commands in a sub-shell, or
. /tmp/build_deps/env.sh
to run the commands in the current shell (notice the '.' in the beginning of
the line)

If you are using /bin/tcsh or other /bin/csh derivative, the 'source'
command is used
to execute commands in the current shell.  This is the same behavior as the
'.' command
in /bin/bash.
In this case, I believe the 'source' command is wrong because the commands
in the mentioned
file are /bin/bash or /bin/sh commands.

Have a good day,

Adar Wesley

On Sat, Feb 14, 2009 at 2:05 PM, Lucas Meijer <lucas at lucasmeijer.com> wrote:

> Hey,
> Note sure if this list is the right place to send this, but on this page:
> http://www.mono-project.com/Compiling_Mono_on_Windows
> it explains the way you can build mono from svn on windows.
> In this process a env.sh gets created that sets up environment variables.
> The isntructions to run it says:
> /tmp/build_deps/env.sh
> however, I believe that is incorrect, and that it should instead be:
> source /tmp/build_deps/env.sh
> Bye, Lucas
> -- Lucas Meijer | GameDev & Unity3D Consulting
> -- Blog: http://lucasmeijer.com/blog
> -- twitter: lucasmeijer
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090214/20ee9740/attachment.html 

More information about the Mono-devel-list mailing list