comparison make-dist @ 21299:9293d783c708

Fix shell syntax in check for missing .el or .elc files.
author Richard M. Stallman <rms@gnu.org>
date Fri, 27 Mar 1998 04:56:51 +0000
parents 70301d94ce1e
children 8ff5c2a5ee26
comparison
equal deleted inserted replaced
21298:34e8c91f9018 21299:9293d783c708
162 echo "${bogosities}" 162 echo "${bogosities}"
163 fi 163 fi
164 rm -f /tmp/el /tmp/elc 164 rm -f /tmp/el /tmp/elc
165 165
166 ### Check for .el files with no corresponding .elc file. 166 ### Check for .el files with no corresponding .elc file.
167 ((cd lisp; ls -1 [a-z]*.el [a-z]*/[a-z]*.el) 167 (cd lisp; ls -1 [a-z]*.el [a-z]*/[a-z]*.el ; \
168 (cd leim; ls -1 [a-z]*.el [a-z]*/[a-z]*.el)) > /tmp/el 168 cd ../leim; ls -1 [a-z]*.el [a-z]*/[a-z]*.el) > /tmp/el
169 ((cd lisp; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc) 169 (cd lisp; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc; \
170 (cd leim; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc)) | sed 's/\.elc$/.el/' > /tmp/elc 170 cd ../leim; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc) | sed 's/\.elc$/.el/' > /tmp/elc
171 losers="`comm -23 /tmp/el /tmp/elc`" 171 losers="`comm -23 /tmp/el /tmp/elc`"
172 bogosities= 172 bogosities=
173 for file in $losers; do 173 for file in $losers; do
174 file1=`echo $file | sed -e "s|.*/||"` 174 file1=`echo $file | sed -e "s|.*/||"`
175 if ! grep -q "dontcompilefiles:.* $file1\($\| \)" lisp/Makefile; then 175 if ! grep -q "dontcompilefiles:.* $file1\($\| \)" lisp/Makefile; then