]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix portability problem in lisp/Makefile.in
authorPo Lu <luangruo@yahoo.com>
Sat, 6 May 2023 12:43:22 +0000 (20:43 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 6 May 2023 12:43:22 +0000 (20:43 +0800)
* lisp/Makefile.in (check-defun-dups): Avoid POSIX command
substitutions.

lisp/Makefile.in

index c90237615c6dac7a10229c7864246e479e3faf1c..fbe502cec6d438cd96cb3671345d5422b7e68e93 100644 (file)
@@ -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