directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject Re: [RPM Installer] Cygwin Stuff in Start/Stop Shell Script
Date Wed, 28 Mar 2007 05:17:07 GMT
I am Cygwin free at the moment.

I noticed that Tomcat has  .sh
scripts for the *NIXs and .bat files for windows.

If we do the same do we still need Cygwin stuff?  I'm just guessing
that it's used when running a *NIX emulator under windows to run
*NIX software...

WDYT?

- Ole


Alex Karasulu wrote:
> Yeah this is for windows but if you want the script to work in the 
> cygwin environment you're going to need this stuff.
>  
> Really if you want to chop this stuff out I recommend checking that it 
> still works in cygwin before doing so.  Do you have
> a cygwin environment?
>  
> Alex
>
>  
> On 3/21/07, *Ole Ersoy* <ole.ersoy@gmail.com 
> <mailto:ole.ersoy@gmail.com>> wrote:
>
>     Howdy,
>
>     In the start/stop script there's this Cygwin stuff:
>
>     # For Cygwin, ensure paths are in UNIX format before anything is
>     touched
>     if $cygwin ; then
>     [ -n "$APACHEDS_HOME" ] &&
>        APACHEDS_HOME=`cygpath --unix "$APACHEDS_HOME"`
>     [ -n "$APACHEDS_HOME_LOCAL" ] &&
>        APACHEDS_HOME_LOCAL=`cygpath --unix "$APACHEDS_HOME_LOCAL"`
>     [ -n "$JAVA_HOME" ] &&
>        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
>     [ -n "$CLASSPATH" ] &&
>        CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
>     fi
>
>     nuke?
>
>     I think cygwin stuff is just for running on windows right?
>
>     Thanks,
>     - Ole
>
>


Mime
View raw message