[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bootstrap is broken
From: |
Paolo Bonzini |
Subject: |
Re: bootstrap is broken |
Date: |
Tue, 07 Oct 2008 10:48:22 +0200 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
Debarshi Ray wrote:
> This particular change due to 29dd8b5548ce047ce51ff9a73d6c4b50c9886771
> has broken bootstrap for the particular use case where it is invoked
> using an absolute path (eg.,
> /devel/gnulib/git/gnulib/build-aux/bootstrap --skip-po
> --gnulib-srcdir=/devel/gnulib/git/gnulib):
>
> @@ -146,7 +146,13 @@ copy=false
> vc_ignore=auto
>
> # Override the default configuration, if necessary.
> -test -r bootstrap.conf && . ./bootstrap.conf
> +# Make sure that bootstrap.conf is sourced from the current directory
> +# if we were invoked as "sh bootstrap".
> +case "$0" in
> + */*) test -r "$0.conf" && . "$0.conf" ;;
> + *) test -r "$0.conf" && . ./"$0.conf" ;;
> +esac
How does it fail? It works here at least...
Paolo