From: Mattias EngdegÄrd Date: Tue, 29 Sep 2020 09:24:38 +0000 (+0200) Subject: Fix custom-tests with non-GNU grep X-Git-Tag: emacs-28.0.90~5834 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d57124fc8833f63e3f3cfb938cec99bd7f8ff81;p=emacs.git Fix custom-tests with non-GNU grep * admin/cus-test.el (cus-test-get-lisp-files): Add path argument required by standard grep (BSD, for instance). --- diff --git a/admin/cus-test.el b/admin/cus-test.el index cee8c19ba12..b4e4b426515 100644 --- a/admin/cus-test.el +++ b/admin/cus-test.el @@ -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")