From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8079 invoked from network); 18 Feb 2004 17:27:41 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Feb 2004 17:27:41 -0000 Received: (qmail 8408 invoked by alias); 18 Feb 2004 17:27:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19439 Received: (qmail 8394 invoked from network); 18 Feb 2004 17:27:34 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 18 Feb 2004 17:27:34 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [199.67.51.101] by sunsite.dk (MessageWall 1.0.8) with SMTP; 18 Feb 2004 17:27:34 -0000 Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i1IHRVbs006200; Wed, 18 Feb 2004 11:27:31 -0600 (CST) (envelope-from dan) Date: Wed, 18 Feb 2004 11:27:31 -0600 From: Dan Nelson To: Peter Stephenson Cc: Zsh hackers list Subject: Re: PATCH: fix configure good and proper. Message-ID: <20040218172731.GA9669@dan.emsphone.com> References: <23791.1077109797@trentino.logica.co.uk> <7159.1077113005@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7159.1077113005@csr.com> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i In the last episode (Feb 18), Peter Stephenson said: > Oliver Kiddle wrote: > > That's because the dot command in /bin/sh on Solaris searches the path > > for config.modules.sh. It seems bash will look in the current directory > > anyway which is probably why it works on Linux. I've put the fix below. > > Hmm... it might be more portable to use ${SHELL} instead of dot anyway. > The script is written to be self-contained. ${SHELL} may be not be a bourne shell. Just stick a #!/bin/sh at the top of the script itself. -- Dan Nelson dnelson@allantgroup.com