]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(Shell Substitutions): Fix typos in yesterday's ZSH_VERSION fixes.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Apr 2002 06:34:23 +0000 (06:34 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Apr 2002 06:34:23 +0000 (06:34 +0000)
Bug reported by Raja R Harinath.

doc/autoconf.texi

index 31e6d47580fa7c21beffd6ee56c39f8562cd5700..e8a7929d8d7aad67551e261ccfc882cf16cb0c11 100644 (file)
@@ -8477,7 +8477,7 @@ One workaround relies on Zsh's ``global aliases'' to convert
 @samp{$@{1+"$@@"@}} into @samp{"$@@"} by itself:
 
 @example
-$@{ZSH_VERSION-:@} alias -g '$@{1+"$@@"@}'='"$@@"'
+test "$@{ZSH_VERSION+set@}" = set && alias -g '$@{1+"$@@"@}'='"$@@"'
 @end example
 
 A more conservative workaround is to avoid @samp{"$@@"} if it is