From: Paul Eggert Date: Fri, 19 Oct 2001 00:20:03 +0000 (+0000) Subject: (as_me): Shell-quote the argument of AS_BASENAME, in case $0 contains X-Git-Tag: AUTOCONF-2.52f~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d264d5a3e2a92cf5ccae5d45e633e4892fe696f;p=thirdparty%2Fautoconf.git (as_me): Shell-quote the argument of AS_BASENAME, in case $0 contains white space. --- diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index 09935c940..4ea6d0365 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -152,7 +152,7 @@ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then fi # Name of the executable. -as_me=`AS_BASENAME($[0])` +as_me=`AS_BASENAME("$[0]")` # Rewrite early, but we need PATH_SEPARATOR. _AS_PATH_SEPARATOR_PREPARE