The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Fix .elc recompile script

gerrit-package
Gergely Polonkai 6 years ago
parent 9bfbbd79d8
commit 6f1a4b796d
  1. 11
      recompile-files.sh

@ -1,15 +1,20 @@
#! /bin/sh
cd `dirname $0`
pwd=`pwd`
for file in `find -iname '*.elc'`
do
elc=`basename "$file"`
el="${elc%c}"
cd `dirname "$file"`
if test $file -ot ${file%c}
if test "$elc" -ot "$el"
then
echo "Recompiling ${file%c}"
emacs --batch --eval '(byte-compile-file "'${file%c}'")'
echo "Recompiling ${el}"
emacs --batch --eval '(byte-compile-file "'${el}'")'
fi
cd $pwd

Loading…
Cancel
Save