This is the mail archive of the
mailing list for the eCos project.
Re: #! magic for finding Cygwin Tcl shell
- From: Tarmo Kuuse <tarmo dot kuuse at mail dot ee>
- To: ecos-devel at sources dot redhat dot com
- Date: Wed, 07 Jan 2009 12:05:33 +0200
- Subject: Re: #! magic for finding Cygwin Tcl shell
- References: <49639C9C.firstname.lastname@example.org>
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.