Refactor elc-recompiling script a bit

This commit is contained in:
Gergely Polonkai 2016-10-11 09:42:34 +02:00
parent d297bde76e
commit 5466bab787
1 changed files with 2 additions and 1 deletions

View File

@ -7,8 +7,9 @@ for file in `find -iname '*.elc'`
do
elc=`basename "$file"`
el="${elc%c}"
dir=`dirname "$file"`
cd `dirname "$file"`
cd "$dir"
if test "$elc" -ot "$el"
then