Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Gerrit P. Haase" <gerrit.haase@t-online.de>
Organization: Esse keine toten Tiere
To: "greenius" <steven@greenius.co.uk>, <cygwin@cygwin.com>
Date: Tue, 9 Jan 2001 09:04:22 +0100
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: Trivial Error with autoscan script
Reply-to: gerrit.haase@t-online.de
Message-ID: <3A5AD416.1249.192D1AD@localhost>
In-reply-to: <006601c079d2$fb74c200$10fea8c0@tiny>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Sender: 320081107336-0001@t-dialin.net

<9 Jan 2001, 0:23 Uhr wars, als greenius folgendes schrub:>
< Trivial Error with autoscan script >

> The script /usr/bin/autoscan which is used to create an initial configure.in
> to use with autoconf and automake has as its first line:
>   #! /usr/local/bin/perl
> But Cygwin installs perl into /usr/bin so attempting to run this script
> gives a program not found error.
> Simple solution is to edit /usr/bin/autoscan and remove the /local

Check all your scripts and change the sharpbang / shebang / sharp bang /
she bang to:

#!/usr/bin/env perl

Taken from perl-5.6.1-1-README by E. Fifer:

See `perldoc perlrun' for more details.  In particular, it explains the 
"#!/usr/bin/env perl" trick as well as other tips on what you should use 
as the first line of your program.

gph

-- 
=^..^=
Gerrit Peter Haase
ID: 0x28A05137
FP: 875C 745E 01CF 8A34 2767  BE39 305E 5261 28A0 5137

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

