Commits

Ivan Andrus committed 75d1b36

Better check if emacs exists (allows EMACS='emacs -L ...')

Comments (0)

Files changed (1)

 
 # Byte compile -- this can fail since we don't require emacs for Sage
 EMACS=${EMACS-emacs}
-which $EMACS 2> /dev/null > /dev/null
+$EMACS -batch 2> /dev/null > /dev/null
 if [ $? -ne 0 ]; then
     echo
     echo WARNING: Could not find emacs at "'$EMACS'"