]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AS_SHELL_SANITIZE): Fix typo in
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Feb 2003 06:45:05 +0000 (06:45 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Feb 2003 06:45:05 +0000 (06:45 +0000)
2002-09-01 patch by replacing "test -n" with "test -z".
This fixes a bug reported by Tom Epperly in
<http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.

lib/m4sugar/m4sh.m4

index 33cbc5140356a402f778bad9e1d8186971a7fca6..497775c4545b33374458a02788669dfd0746b07e 100644 (file)
@@ -167,7 +167,7 @@ for as_var in \
   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   LC_TELEPHONE LC_TIME
 do
-  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     eval $as_var=C; export $as_var
   else
     $as_unset $as_var