summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-05-06 20:43:22 +0800
committerPo Lu <luangruo@yahoo.com>2023-05-06 20:43:22 +0800
commit31a66dc8918e81470dc35be7c489108fbbfbce01 (patch)
tree98a2fbe1bd0056ca30d7f686460fc5ef9d4979fe
parenta5d142e8301c3dfb193e89eda9caf50ee2a92d28 (diff)
downloademacs-31a66dc8918e81470dc35be7c489108fbbfbce01.tar.gz
Fix portability problem in lisp/Makefile.in
* lisp/Makefile.in (check-defun-dups): Avoid POSIX command substitutions.
-rw-r--r--lisp/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index c90237615c6..fbe502cec6d 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -490,8 +490,8 @@ check-declare:
## This finds a lot of duplicates between foo.el and obsolete/foo.el.
check-defun-dups:
sed -n -e '/^(defun /s/\(.\)(.*/\1/p' \
- $$(find . -name '*.el' ! -name '.*' -print | \
- grep -Ev '(loaddefs|ldefs-boot)\.el|obsolete') | sort | uniq -d
+ `find . -name '*.el' ! -name '.*' -print | \
+ grep -Ev '(loaddefs|ldefs-boot)\.el|obsolete'` | sort | uniq -d
# Dependencies