summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1997-11-07 21:19:19 +0000
committerKarl Heuer <kwzh@gnu.org>1997-11-07 21:19:19 +0000
commitc016251c6fe53004274ed33cbe703a3565f8a8cd (patch)
tree7344b7279604787e8c2c0a3c7e1fdf7628cc05e5 /make-dist
parentf69847e3adaf8c144f4ee5446ac83c9fca0257b7 (diff)
downloademacs-c016251c6fe53004274ed33cbe703a3565f8a8cd.tar.gz
(check for .elc files): Avoid bash-specific syntax.
(check for overflow 14-char limit): Simplify.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist9
1 files changed, 5 insertions, 4 deletions
diff --git a/make-dist b/make-dist
index fb60c85e102..26661030617 100755
--- a/make-dist
+++ b/make-dist
@@ -144,8 +144,10 @@ them, and try again." >&2
fi
### Check for .elc files with no corresponding .el file.
-ls -1 {lisp,leim}/[a-z]*.el {lisp,leim}/[a-z]*/[a-z]*.el | sed 's/\.el$/.elc/' > /tmp/el
-ls -1 {lisp,leim}/[a-z]*.elc {lisp,leim}/[a-z]*/[a-z]*.elc > /tmp/elc
+ls -1 lisp/[a-z]*.el lisp/[a-z]*/[a-z]*.el \
+ leim/[a-z]*.el leim/[a-z]*/[a-z]*.el | sed 's/\.el$/.elc/' > /tmp/el
+ls -1 lisp/[a-z]*.elc lisp/[a-z]*/[a-z]*.elc \
+ leim/[a-z]*.elc leim/[a-z]*/[a-z]*.elc > /tmp/elc
bogosities="`comm -13 /tmp/el /tmp/elc`"
if [ "${bogosities}" != "" ]; then
echo "The following .elc files have no corresponding .el files:"
@@ -181,8 +183,7 @@ fi
rm -f /tmp/el /tmp/elc
### Check for .el files that would overflow the 14-char limit if compiled.
-long=`find lisp -name '[a-zA-Z0-9]??????????*.el' -print
- find leim -name '[a-zA-Z0-9]??????????*.el' -print`
+long=`find lisp leim -name '[a-zA-Z0-9]??????????*.el' -print`
if [ "$long" != "" ]; then
echo "The following .el file names are too long:"
echo "$long"