From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12731 invoked by alias); 7 Jan 2009 11:10:18 -0000 Received: (qmail 12718 invoked by uid 22791); 7 Jan 2009 11:10:14 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Jan 2009 11:10:05 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LKWIV-0004vz-5S for ecos-devel@sources.redhat.com; Wed, 07 Jan 2009 11:10:03 +0000 Received: from pro1.proekspert.ee ([212.47.207.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2009 11:10:03 +0000 Received: from tarmo.kuuse by pro1.proekspert.ee with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2009 11:10:03 +0000 To: ecos-devel@sources.redhat.com From: Tarmo Kuuse Subject: Re: #! magic for finding Cygwin Tcl shell Date: Wed, 07 Jan 2009 11:10:00 -0000 Message-ID: References: <49639C9C.9040607@dallaway.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) In-Reply-To: <49639C9C.9040607@dallaway.org.uk> X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-01/txt/msg00013.txt.bz2 John Dallaway wrote: > Rather than increase the complexity of the #! magic still further, I > think it now makes sense to revert to a simple "#! /usr/bin/tclsh" > within our Tcl scripts. However, this would break compatibility with old > Cygwin installations providing only tclsh8*.exe or cygtclsh80.exe. Source distribution using automake installs stuff to "/usr/local" by default. When a user has installed tcl from source (which probably happens every now and then), their executable is "/usr/local/bin/tclsh". The "env" utility, on the other hand, is almost never installed to any other location than "/usr/bin/env" because it comes with the base system. -- Kind regards, Tarmo Kuuse