Created
March 16, 2011 23:40
-
-
Save ianbishop/873553 to your computer and use it in GitHub Desktop.
Fixes 'Aquamacs missing' error in Mozart 1.4 for Mac OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
detectAquamacs() | |
{ | |
if [ ! -e "/Applications/Aquamacs.app" ]; then | |
`$CD ok-msgbox --no-cancel --icon info --timeout 20 --title "Aquamacs not found" --text "This application is needed to run Mozart" --informative-text "You can download it from http://aquamacs.org/"` | |
exit 2 | |
fi | |
} | |
exec /Applications/Aquamacs.app/Contents/MacOS/Aquamacs --eval '(setq load-path (cons "'$OZHOME'/share/elisp" load-path))' -l oz.elc -f run-oz $2 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment