]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(_AS_PATH_SEPARATOR_PREPARE):
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Jul 2002 22:17:19 +0000 (22:17 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Jul 2002 22:17:19 +0000 (22:17 +0000)
Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
apparently treats PATH="nonexistent" as if it contained ".".
Bug reported by Stefan `Sec' Zehl.

lib/m4sugar/m4sh.m4

index 18f8eee8ce27481d4b6df872353da39d331b58dc..4487490d56652026316ad0e9bdb46071097a98c9 100644 (file)
@@ -628,7 +628,7 @@ if test "${PATH_SEPARATOR+set}" != set; then
   echo "#! /bin/sh" >conftest.sh
   echo  "exit 0"   >>conftest.sh
   chmod +x conftest.sh
-  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
+  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
     PATH_SEPARATOR=';'
   else
     PATH_SEPARATOR=: