Fixed bytecompilation.
This commit is contained in:
parent
7da8c4075a
commit
64b36cfc28
1 changed files with 8 additions and 2 deletions
|
@ -192,7 +192,7 @@ then
|
|||
if [ -n $PRELUDE_INTO ]
|
||||
then
|
||||
# Install into existing config
|
||||
PRELUDE_INSTALL_DIR+='/prelude/'
|
||||
PRELUDE_INSTALL_DIR+='/prelude'
|
||||
install_prelude
|
||||
else
|
||||
# Replace existing config
|
||||
|
@ -218,7 +218,13 @@ then
|
|||
if which emacs 2>&1 > /dev/null
|
||||
then
|
||||
printf " Bytecompiling Prelude.\n"
|
||||
emacs -batch -f batch-byte-compile $PRELUDE_BYTECOMPILE_DIR > /dev/null 2>&1
|
||||
if [ x$PRELUDE_VERBOSE != x ]
|
||||
then
|
||||
emacs -batch -f batch-byte-compile $PRELUDE_INSTALL_DIR/prelude/*.el
|
||||
emacs -batch -f batch-byte-compile "$PRELUDE_INSTALL_DIR/prelude/*.el"
|
||||
else
|
||||
emacs -batch -f batch-byte-compile $PRELUDE_INSTALL_DIR/prelude/*.el > /dev/null 2>&1
|
||||
fi
|
||||
else
|
||||
printf "$YELLOW Emacs not found.$RESET Skipping bytecompilation.\n"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue