update.
[elisp/apel.git] / install.el
index 70a1714..4995610 100644 (file)
           dir)
        (while (setq dir (car rest))
         (if (string-match
-             (concat "^"
-                     (expand-file-name (concat ".*/" elisp-prefix) prefix)
-                     "$")
+             (` (, (concat "^"
+                           (expand-file-name (concat ".*/" elisp-prefix) prefix)
+                           "/?$")))
              dir)
             (if (or allow-version-specific
                     (not (string-match (format "%d\\.%d"