Skip to content

Instantly share code, notes, and snippets.

@ianbishop
Created March 16, 2011 23:40
Show Gist options
  • Save ianbishop/873553 to your computer and use it in GitHub Desktop.
Save ianbishop/873553 to your computer and use it in GitHub Desktop.
Fixes 'Aquamacs missing' error in Mozart 1.4 for Mac OSX
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