From: Ralf Wildenhues Date: Mon, 19 Nov 2007 20:24:54 +0000 (+0100) Subject: Fix IRIX testsuite debugging failures: $0 in functions. X-Git-Tag: v2.62~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d8234a76c05608df78a73aca30c4454cbd7519d;p=thirdparty%2Fautoconf.git Fix IRIX testsuite debugging failures: $0 in functions. * lib/autotest/general.m4 (AT_INIT) : Do not use $0 inside a function, as IRIX sh will set that to the function name rather than the script invocation name. --- diff --git a/ChangeLog b/ChangeLog index 409ee36b..aaee5813 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ -2007-11-18 Paolo Bonzini +2007-11-19 Ralf Wildenhues + + Fix IRIX testsuite debugging failures: $0 in functions. + * lib/autotest/general.m4 (AT_INIT) : + Do not use $0 inside a function, as IRIX sh will set that to the + function name rather than the script invocation name. + +2007-11-19 Paolo Bonzini and Ralf Wildenhues * lib/autotest/general.m4 (at_func_test): Use cached line numbers diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index 53b00607..08f6e633 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -331,7 +331,7 @@ at_func_create_debugging_script () echo 'test "${ZSH_VERSION+set}" = set dnl && alias -g '\''${1+"$[@]"}'\''='\''"$[@]"'\''' AS_ECHO(["cd '$at_dir'"]) - AS_ECHO(["exec \${CONFIG_SHELL-$SHELL} $[0] -v -d ]dnl + AS_ECHO(["exec \${CONFIG_SHELL-$SHELL} $at_myself -v -d ]dnl [$at_debug_args $at_group \${1+\"\$[@]\"}"]) echo 'exit 1' } >$at_group_dir/run