This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to detect CygWin SVN?


On Wed, Feb 9, 2011 at 10:57 PM, Csaba Raduly <rcsaba@gmail.com> wrote:

> Question is, why do you think you need to detect it ?

Assuming that I'd like to use the -f option of SVN (commit a list of
files, which are present in the file given by -f), the contents of the
file in question are quite different for CygWin SVN (/cygdrive/c/...)
and a native SVN. (C:\...)


> How about this:
> cygcheck `which svn` | grep cygwin1.dll

That's another solution that works excellent, if I know that CygWin is
present ... which I don't.



-- 
I Am What I Am And That's All What I Yam (Popeye)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]