* m4/lispdir.m4: Fixed sed invocation. From Akim Demaille.
authorTom Tromey <tromey@redhat.com>
Sat, 24 Oct 1998 15:20:31 +0000 (15:20 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 24 Oct 1998 15:20:31 +0000 (15:20 +0000)
ChangeLog
m4/lispdir.m4

index e18c673..a0e1dfe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-10-24  Tom Tromey  <tromey@cygnus.com>
+
+       * m4/lispdir.m4: Fixed sed invocation.  From Akim Demaille.
+
 1998-10-20  Tom Tromey  <tromey@cygnus.com>
 
        * automake.in (scan_dependency_file): Fixed test on `while' loop.
index 1f8ad10..981ba88 100644 (file)
@@ -14,7 +14,7 @@ AC_DEFUN(AM_PATH_LISPDIR,
     AC_MSG_CHECKING([where .elc files should go])
     dnl Set default value
     lispdir="\$(datadir)/emacs/site-lisp"
-    emacs_flavor=`echo "$EMACS" | sed -e ',^.*/,,'`
+    emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
     if test "x$prefix" = "xNONE"; then
       if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
        lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"