mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-18 10:45:15 +08:00
(_AS_LINENO_PREPARE): Unset ENV and BASH_ENV when reinvoking the
shell, to work around problems with installers who put strange things like "cd" commands in their environments.
This commit is contained in:
parent
7dc0b2892f
commit
b07b6a5b8e
@ -507,6 +507,8 @@ m4_define([_AS_LINENO_PREPARE],
|
||||
case $as_dir in
|
||||
/*)
|
||||
if ("$as_dir/$as_base" -c '_AS_LINENO_WORKS') 2>/dev/null; then
|
||||
AS_UNSET(BASH_ENV)
|
||||
AS_UNSET(ENV)
|
||||
CONFIG_SHELL=$as_dir/$as_base
|
||||
export CONFIG_SHELL
|
||||
exec "$CONFIG_SHELL" "$[0]" ${1+"$[@]"}
|
||||
|
Loading…
Reference in New Issue
Block a user