]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (_AC_SHELL_DIRNAME): Fix quotation.
authorAkim Demaille <akim@epita.fr>
Thu, 6 Jul 2000 16:38:31 +0000 (16:38 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 6 Jul 2000 16:38:31 +0000 (16:38 +0000)
ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index 7494742f6916bf02334de9f998c81a6b754f40d5..63855de64cbb460d2c92dd647624e92c3806da31 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-06  Akim Demaille  <akim@epita.fr>
+
+       * acgeneral.m4 (_AC_SHELL_DIRNAME): Fix quotation.
+
 2000-07-06  Akim Demaille  <akim@epita.fr>
 
        * aclang.m4: Formatting and quotations changes.
index 0a05cd9c0af4ed97c9cdc9b42cda2e13c04c05c2..8ff13407e05bf8c8049a245b3949b1f9fabc450e 100644 (file)
@@ -777,7 +777,7 @@ done; }
 # Simulate running `dirname(1)' on PATHNAME, not all systems have it.
 # This macro must be usable from inside ` `.
 define([_AC_SHELL_DIRNAME],
-[echo $1 | sed '/^\/*$/!s,//*$,,;s,[^/]*$,,;s,//*$,/,;/^\/$/!s,/$,,'])
+[echo $1 | sed '/^\/*$/!s,//*$,,;s,[[^/]]*$,,;s,//*$,/,;/^\/$/!s,/$,,'])
 
 
 
index 0a05cd9c0af4ed97c9cdc9b42cda2e13c04c05c2..8ff13407e05bf8c8049a245b3949b1f9fabc450e 100644 (file)
@@ -777,7 +777,7 @@ done; }
 # Simulate running `dirname(1)' on PATHNAME, not all systems have it.
 # This macro must be usable from inside ` `.
 define([_AC_SHELL_DIRNAME],
-[echo $1 | sed '/^\/*$/!s,//*$,,;s,[^/]*$,,;s,//*$,/,;/^\/$/!s,/$,,'])
+[echo $1 | sed '/^\/*$/!s,//*$,,;s,[[^/]]*$,,;s,//*$,/,;/^\/$/!s,/$,,'])