]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/m4sh.at (LINENO): Quote $0.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 4 Dec 2007 21:48:04 +0000 (22:48 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 8 Dec 2007 10:52:54 +0000 (11:52 +0100)
ChangeLog
tests/m4sh.at

index a7e8ae9a426227e0592f1a3e1eeafa777f901770..0b05ce31999dce2cc8c8ac50a959d7d48ae34d49 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-12-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * 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
index 966ca9a7ac7cc08be33d664ccac1590e5aae2032..2b55bc9e3468a703facd30a7ae04efdc023834a6 100644 (file)
@@ -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
 ]])