From: Csaba Raduly <rcsaba@gmail.com>
To: cygwin@cygwin.com
Subject: Re: How to detect CygWin SVN?
Date: Wed, 09 Feb 2011 21:57:00 -0000 [thread overview]
Message-ID: <AANLkTinXPdAsw4WXCPLq-LGWKpCqe9rhX1cOh7484LHU@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=xp284SRr2os-oySBv4JQ7dm6NpgUEnqAfkcAH@mail.gmail.com>
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
next prev parent reply other threads:[~2011-02-09 21:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 19:11 Jochen Wiedmann
2011-02-09 19:17 ` Jeremy Bopp
2011-02-09 20:22 ` Jochen Wiedmann
2011-02-09 20:26 ` Jeremy Bopp
2011-02-09 20:29 ` Jochen Wiedmann
2011-02-09 21:57 ` Csaba Raduly [this message]
2011-02-10 11:54 ` Jochen Wiedmann
2011-02-10 12:23 ` Gary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTinXPdAsw4WXCPLq-LGWKpCqe9rhX1cOh7484LHU@mail.gmail.com \
--to=rcsaba@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).