[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 31a66dc8918 2/2: Fix portability problem in lisp/Makefile.in
From: |
Po Lu |
Subject: |
master 31a66dc8918 2/2: Fix portability problem in lisp/Makefile.in |
Date: |
Sat, 6 May 2023 08:44:19 -0400 (EDT) |
branch: master
commit 31a66dc8918e81470dc35be7c489108fbbfbce01
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix portability problem in lisp/Makefile.in
* lisp/Makefile.in (check-defun-dups): Avoid POSIX command
substitutions.
---
lisp/Makefile.in | 4 ++--
1 file 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