X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_SV,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4D52E83B.2020908@bopp.net>
References: <AANLkTi=xp284SRr2os-oySBv4JQ7dm6NpgUEnqAfkcAH@mail.gmail.com>	<4D52E83B.2020908@bopp.net>
Date: Wed, 9 Feb 2011 21:22:20 +0100
Message-ID: <AANLkTinsYmH18HM9yRnhNZhzCmCNKinszMaHU9GiYBK5@mail.gmail.com>
Subject: Re: How to detect CygWin SVN?
From: Jochen Wiedmann <jochen.wiedmann@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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) =3D '/usr/bin/svn' ]; then
> =C2=A0echo "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.


--=20
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

