On Thu, Jun 29, 2006 at 11:33:29AM -0500, Bo Peng wrote:
> >That's from src/support/os_win32.C in the init() function.
> >Here "sh -c uname" is tried in order to detect a cygwin environment.
> >If the command is not found, it is assumed that there is no such
> >environment. Hence, the warning is not harmful.
> 
> If you only want to check if an environment is cygwin, can you check
> the existance of /cygdrive? something like boost::fileexists(...).

No, this doesn't work as we have a native windows LyX here.

> At
> least, this command can be replaced to 'python -c 'import sys;print
> sys.platform'.

Yes, this should work. Also, the "CYGWIN" in the following line should
be lowercased: "CYGWIN" -> "cygwin".

Can you do the change?

-- 
Enrico

Reply via email to