[Mesa-dev] [PATCH] autogen.sh: pass --force to autoreconf, quote ORIGDIR
Matt Turner
mattst88 at gmail.com
Mon Mar 9 09:22:10 PDT 2015
On Mon, Mar 9, 2015 at 4:52 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> My passing --force autoreconf will update all the aux files, which would
s/My/By/
> otherwise be ignored if one updates autoconf/automake.
>
> Quote the ORIGDIR variable to prevent fall-outs, when it's name contains
s/it's/its/
> space.
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> autogen.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/autogen.sh b/autogen.sh
> index 626d213..c896097 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -6,8 +6,8 @@ test -z "$srcdir" && srcdir=.
> ORIGDIR=`pwd`
> cd "$srcdir"
>
> -autoreconf -v --install || exit 1
> -cd $ORIGDIR || exit $?
> +autoreconf --force --verbose --install || exit 1
> +cd "$ORIGDIR" || exit $?
>
> if test -z "$NOCONFIGURE"; then
> "$srcdir"/configure "$@"
> --
> 2.3.1
Reviewed-by: Matt Turner <mattst88 at gmail.com>
More information about the mesa-dev
mailing list