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 8:17 PM, Jeremy Bopp <jeremy@bopp.net> wrote:

> I'm assuming that your script expects svn to be in the PATH, so you
> could check to see if the path to the svn client lives within Cygwin's
> installation:
>
> if [ $(type -p svn) = '/usr/bin/svn' ]; then
> Âecho "Found Cygwin's svn client"
> fi
>
> Unless someone goes out of their way to confound things, this should be
> good enough.

Thanks for the idea. However, I'd prefer a solution that works with
the native cmd-Shell too. Otherwise, I'd assume that CygWin is
installed.


-- 
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]