https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 863066bded664a5e2aba7f89c4fb7bc2afd0e28d authored by Pierre-Yves Strub on 23 September 2015, 08:28:02 UTC
Ring axioms of the `ring`/`field` tactics agree with the ones of `Ring.ec`
Tip revision: 863066b
find-emacs
#! /bin/bash
(set -o igncr) 2>/dev/null && set -o igncr; # this comment is required

function report { echo "$@"; exit 0; }

System="$(uname)"
Darwin1=/Applications/Emacs.app/Contents/MacOS/Emacs
Darwin2=/Applications/MacPorts/Emacs.app

if [ ! -z "${EMACS}" ]; then report "${EMACS}"; fi

if [ ${System} == "Darwin" ]; then
  if [ -f ${Darwin1} ]; then report "${Darwin1}"; fi
  if [ -f ${Darwin2} ]; then report "${Darwin2}"; fi
fi

report "emacs"
back to top