autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testsuite -C dir


From: Ralf Wildenhues
Subject: Re: testsuite -C dir
Date: Tue, 29 Jan 2008 07:44:36 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Eric Blake wrote on Tue, Jan 29, 2008 at 06:54:32AM CET:
> +     test "x$at_envvar" = "x" ||
> +       expr "x$at_envvar" : "[.*[^_$as_cr_alnum]]" >/dev/null &&
>         AS_ERROR([invalid variable name: $at_envvar])
>       at_value=`AS_ECHO(["$at_optarg"]) | sed "s/'/'\\\\\\\\''/g"`
> -     eval "$at_envvar='$at_value'"
> +     # Export now, but save eval for later and for debug scripts.
>       export $at_envvar

Does Autotest (now that it uses shell functions) still cater to shells
that need to re-export variables after changing them?  Then
at_debug_args should contain the export statements, too.

> -     # Propagate to debug scripts.
>       at_debug_args="$at_debug_args $at_envvar='$at_value'"
>       ;;
>  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]