X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Message-ID: <5021233D.1010305@softwareag.com> Date: Tue, 07 Aug 2012 16:16:29 +0200 From: Jochen Wiedmann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: Re: CygWin SVN should identify as CygWin References: <5020CEC7 DOT 3010703 AT softwareag DOT com> <5020E3CB DOT 8070609 AT gmail DOT com> <5020E425 DOT 9080706 AT softwareag DOT com> <1975516369 DOT 20120807142759 AT mtu-net DOT ru> <5020EFDE DOT 3090305 AT softwareag DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 07.08.2012 13:15, Adam Dinwoodie wrote: > This isn't Subversion's responsibility; the problem is more general: how do you > tell if the version of awk, sed or vim are Cygwin ones or not (or ones compiled > containing a specific patch, or built on a particular day, or any other of a > myriad of different things that could make a difference to an executable's > behaviour)? I don't know about "more general". However, I know very well that there's a particular project (Maven Release Plugin), which has this very problem with svn, not with awk, sed, or whatever. And I'd like to fix that specific problem, not eliminate hunger in the world, or do whatever more general. To achieve that, I've pointed out a non-intrusive and harmless change in CygWin SVN, which might help to resolve that problem. And, besides, your proposed solution won't work: I could, of course, use "which", or "where" to deduce the location of "svn", but what would that tell me. Assuming, I get "/usr/bin/svn", then I'd know that "which" is a CygWin binary (because it emits a CygWin path), but what's got that to do with svn? The fact that it resides in the CygWin bin directory doesn't mean it is also a CygWin binary. Jochen   SAG Consulting Services GmbH - Sitz/Registered office: Uhlandstraße 9, 64297 Darmstadt, Germany - Registergericht/Commercial register: Darmstadt HRB 85598 Geschäftsführer/Managing Directors: Klaus Katz, Arno Theiß - http://www.softwareag.com/   -- 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