aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cus-test.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd2020-09-29 11:24:38 +0200
committerMattias EngdegÄrd2020-09-29 11:24:38 +0200
commit4d57124fc8833f63e3f3cfb938cec99bd7f8ff81 (patch)
tree2936577c878862afb8b55c8627bee9e86d873636 /admin/cus-test.el
parent9f30a6b1a417cebe795956a7eef44b8cd9b71557 (diff)
downloademacs-4d57124fc8833f63e3f3cfb938cec99bd7f8ff81.tar.gz
emacs-4d57124fc8833f63e3f3cfb938cec99bd7f8ff81.zip
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/cus-test.el')
-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."
347 ;; Hack to remove leading "./". 347 ;; Hack to remove leading "./".
348 (mapcar (lambda (e) (substring e 2)) 348 (mapcar (lambda (e) (substring e 2))
349 (apply 'process-lines find-program 349 (apply 'process-lines find-program
350 "-name" "obsolete" "-prune" "-o" 350 "." "-name" "obsolete" "-prune" "-o"
351 "-name" "[^.]*.el" ; ignore .dir-locals.el 351 "-name" "[^.]*.el" ; ignore .dir-locals.el
352 (if all 352 (if all
353 '("-print") 353 '("-print")