Refactor elc-recompiling script a bit
This commit is contained in:
parent
d297bde76e
commit
5466bab787
@ -7,8 +7,9 @@ for file in `find -iname '*.elc'`
|
|||||||
do
|
do
|
||||||
elc=`basename "$file"`
|
elc=`basename "$file"`
|
||||||
el="${elc%c}"
|
el="${elc%c}"
|
||||||
|
dir=`dirname "$file"`
|
||||||
|
|
||||||
cd `dirname "$file"`
|
cd "$dir"
|
||||||
|
|
||||||
if test "$elc" -ot "$el"
|
if test "$elc" -ot "$el"
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user