From: Ralf Wildenhues Date: Tue, 4 Dec 2007 21:48:04 +0000 (+0100) Subject: * tests/m4sh.at (LINENO): Quote $0. X-Git-Tag: v2.62~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=587ce8cecd03c7f8e08761318e28c807e5a798de;p=thirdparty%2Fautoconf.git * tests/m4sh.at (LINENO): Quote $0. --- diff --git a/ChangeLog b/ChangeLog index a7e8ae9a4..0b05ce319 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-12-08 Ralf Wildenhues + * tests/m4sh.at (LINENO): Quote $0. + Fix testsuite program wrapper for whitespace in `pwd`. The problem here is that the usual mantra is that command variables can contain arguments, thus we cannot just escape diff --git a/tests/m4sh.at b/tests/m4sh.at index 966ca9a7a..2b55bc9e3 100644 --- a/tests/m4sh.at +++ b/tests/m4sh.at @@ -54,7 +54,7 @@ if $2; then fi _AS@&t@_PREPARE echo "Line: $3" -grep 'Line: .*$4' $[0] >/dev/null || +grep 'Line: .*$4' "$[0]" >/dev/null || AS@&t@_ERROR([cannot find original script]) exit 0 ]])