Commits

Ivan Andrus  committed 75d1b36

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

  • Participants
  • Parent commits 3798a70

Comments (0)

Files changed (1)

File spkg-install

 
 # 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'"