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

2009-02-14 Thread Lucas Meijer
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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2009-02-14 Thread Adar Wesley
Hi Lucas,

This depends on the shell you are using.  If you are using /bin/bash or
other
/bin/sh derivative the instructions are correct.
Call the script directly as:
/tmp/build_deps/env.sh
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 lu...@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@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2009-02-14 Thread Bojan Rajkovic
 In this case, I believe the 'source' command is wrong because the commands
in the mentioned
 file are /bin/bash or /bin/sh commands.

Using the source command works in Bourne shells as well.

 

--Bojan

 

 

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list