* 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