How to detect CygWin SVN?
Csaba Raduly
rcsaba@gmail.com
Wed Feb 9 21:57:00 GMT 2011
Hi Jochen,
On 2/9/11, Jochen Wiedmann wrote:
> Hi,
>
> I'd like to write a script, which ought to work with the CygWin SVN
> client as well as any native SVN clients. As a prerequisite, I need to
> detect whether the "svn" program in the path is CygWin SVN or not.
> Question is, how to do this?
Question is, why do you think you need to detect it ?
How about this:
cygcheck `which svn` | grep cygwin1.dll
(you could replace `which svn` with the full path of the svn executable)
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus
Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
--
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
More information about the Cygwin
mailing list