From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22667 invoked from network); 27 Mar 2001 15:17:22 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Mar 2001 15:17:22 -0000 Received: (qmail 13430 invoked by alias); 27 Mar 2001 15:17:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13793 Received: (qmail 13417 invoked from network); 27 Mar 2001 15:17:12 -0000 Message-ID: <20010327151711.94655.qmail@web9306.mail.yahoo.com> Date: Tue, 27 Mar 2001 16:17:11 +0100 (BST) From: =?iso-8859-1?q?Oliver=20Kiddle?= Subject: Re: /usr/local/bin/perl To: Adam Spiers , zsh workers mailing list In-Reply-To: <20010327142836.C32602@thelonious.new.ox.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --- Adam Spiers wrote: > > The following scripts hardcode binary locations (excluding /bin/sh > Can we avoid this? Is env(1) common to enough platforms, for > instance, or maybe we could add something to configure? I'd agree that this is something which would be nice to clean up. I'd have thought that it would be fine to use env for these. I've not really seen a system on which it won't work and they are mostly examples or functions so people can always fix the line. I would suggest though putting a #! on the second line, possibly with a comment so it is easier for anyone to work out how to fix it if the env trick fails. For the example #!, I'd use /usr/local/bin as it is the default prefix when compiling zsh and fairly common for perl too. I'm not fussed though - having consistency is worth more. The only one which slightly concerns me is Test/ztst.zsh but I don't know much about the workings of the test system. As long as make check will always work. Setting the #! lines would be quite simple from configure but I'm not sure it is worth it for the extra complexity and potential for things to break. Oliver ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie