Re: [Mingw-msys] Re: Apache + mod_perl
- Date: Thu, 10 Apr 2008 01:21:18 -0700
- From: Brian Dessent <brian@xxxxxxxxxxx>
- Subject: Re: [Mingw-msys] how do I get the folder where msys resides in a shellscript?
basinilya@xxxxxxxxx wrote:
> How do I get these values: 'U:\msys\1.0', 'U:\MinGW'?
> For now three solutions come to mind: edit msys.bat or parse the second line of 'set' command output
> $ set
> !::='::\'
> !U:='U:\msys\1.0\bin'
>
> or parse the 'mount' command output
You're overthinking it. Path translation is MSYS' bread and butter.
msysroot=`cd / && pwd -W`
mingwroot=`cd /mingw && pwd -W`
Brian
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys