]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix custom-tests with non-GNU grep
authorMattias Engdegård <mattiase@acm.org>
Tue, 29 Sep 2020 09:24:38 +0000 (11:24 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 29 Sep 2020 09:24:38 +0000 (11:24 +0200)
* admin/cus-test.el (cus-test-get-lisp-files): Add path argument required
by standard grep (BSD, for instance).

admin/cus-test.el

index cee8c19ba12cbcba75311af508937a79493a4d30..b4e4b426515364007f660c84b8252eda45abfef3 100644 (file)
@@ -347,7 +347,7 @@ Optional argument ALL non-nil means list all (non-obsolete) Lisp files."
        ;; Hack to remove leading "./".
        (mapcar (lambda (e) (substring e 2))
                (apply 'process-lines find-program
-                      "-name" "obsolete" "-prune" "-o"
+                      "." "-name" "obsolete" "-prune" "-o"
                       "-name" "[^.]*.el" ; ignore .dir-locals.el
                       (if all
                           '("-print")