Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: fix configure good and proper.
- X-seq: zsh-workers 19439
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: PATCH: fix configure good and proper.
- Date: Wed, 18 Feb 2004 11:27:31 -0600
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- In-reply-to: <7159.1077113005@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <23791.1077109797@xxxxxxxxxxxxxxxxxxxxx> <7159.1077113005@xxxxxxx>
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@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author