Commit 3985f85d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Fix shell syntax in check for missing .el or .elc files.

parent c25aec78
......@@ -164,10 +164,10 @@ then
rm -f /tmp/el /tmp/elc
### Check for .el files with no corresponding .elc file.
((cd lisp; ls -1 [a-z]*.el [a-z]*/[a-z]*.el)
(cd leim; ls -1 [a-z]*.el [a-z]*/[a-z]*.el)) > /tmp/el
((cd lisp; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc)
(cd leim; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc)) | sed 's/\.elc$/.el/' > /tmp/elc
(cd lisp; ls -1 [a-z]*.el [a-z]*/[a-z]*.el ; \
cd ../leim; ls -1 [a-z]*.el [a-z]*/[a-z]*.el) > /tmp/el
(cd lisp; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc; \
cd ../leim; ls -1 [a-z]*.elc [a-z]*/[a-z]*.elc) | sed 's/\.elc$/.el/' > /tmp/elc
losers="`comm -23 /tmp/el /tmp/elc`"
for file in $losers; do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment