summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-09-29 11:24:38 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2020-09-29 11:24:38 +0200
commit4d57124fc8833f63e3f3cfb938cec99bd7f8ff81 (patch)
tree2936577c878862afb8b55c8627bee9e86d873636 /admin
parent9f30a6b1a417cebe795956a7eef44b8cd9b71557 (diff)
downloademacs-4d57124fc8833f63e3f3cfb938cec99bd7f8ff81.tar.gz
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).
Diffstat (limited to 'admin')
-rw-r--r--admin/cus-test.el2
1 files changed, 1 insertions, 1 deletions
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")