From: Willy Tarreau <w@1wt.eu>
To: Stefan Seyfried <stefan.seyfried@googlemail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Subject: [PATCH 2.4] Fix Kernel 2.4 build with bash 4
Date: Fri, 2 Oct 2009 11:25:07 +0200 [thread overview]
Message-ID: <20091002092507.GA26741@1wt.eu> (raw)
In-Reply-To: <20091002111711.5de3bf8f@strolchi>
Hi Stefan,
On Fri, Oct 02, 2009 at 11:17:11AM +0200, Stefan Seyfried wrote:
>
> Signed-off-by: Stefan <stefan.seyfried@googlemail.com>
> ---
> scripts/Configure | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/Configure b/scripts/Configure
> index 1a3af43..7a73423 100644
> --- a/scripts/Configure
> +++ b/scripts/Configure
> @@ -546,9 +546,9 @@ if [ -f $DEFAULTS ]; then
> echo "#"
> echo "# Using defaults found in" $DEFAULTS
> echo "#"
> - . $DEFAULTS
> + . ./$DEFAULTS
> sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$
> - . .config-is-not.$$
> + . ./.config-is-not.$$
> rm .config-is-not.$$
> else
> echo "#"
This is amazing it has ever worked at all ! None of my scripts which use
". $file" without "./" work even in bash 3. Probably this depends on some
PATH variables and maybe your environment has changed since you upgarded
to bash 4.
Thanks for the fix, I'll merge it.
Willy
next prev parent reply other threads:[~2009-10-02 9:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-02 9:17 Subject: [PATCH 2.4] Fix Kernel 2.4 build with bash 4 Stefan Seyfried
2009-10-02 9:25 ` Willy Tarreau [this message]
2009-10-02 9:31 ` Stefan Seyfried
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091002092507.GA26741@1wt.eu \
--to=w@1wt.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=stefan.seyfried@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox