[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: AS_BASENAME no longer shell-quotes its argument
From: |
Paul Eggert |
Subject: |
FYI: AS_BASENAME no longer shell-quotes its argument |
Date: |
Thu, 18 Oct 2001 17:26:58 -0700 (PDT) |
After I regenerated "configure" with the new autoconf, I found one
minor problem -- m4sh.m4 assumed that AS_BASENAME shell-quotes
its argument, but the new AS_BASENAME does not do that (for compatibility
with AS_DIRNAME). I installed this patch and then installed the
regenerated "configure".
2001-10-18 Paul Eggert <address@hidden>
* lib/m4sugar/m4sh.m4 (as_me): Shell-quote the argument of
AS_BASENAME, in case $0 contains white space.
Index: m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.65
diff -p -u -2 -r1.65 m4sh.m4
--- m4sh.m4 2001/10/18 23:43:52 1.65
+++ m4sh.m4 2001/10/19 00:18:11
@@ -153,5 +153,5 @@ fi
# Name of the executable.
-as_me=`AS_BASENAME($[0])`
+as_me=`AS_BASENAME("$[0]")`
# Rewrite early, but we need PATH_SEPARATOR.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: AS_BASENAME no longer shell-quotes its argument,
Paul Eggert <=