lib/Tools/jedit
author wenzelm
Sat, 21 Mar 2009 20:00:23 +0100
changeset 30627 fb9e73c01603
parent 29143 72c960b2b83e
permissions -rwxr-xr-x
added polyml_pp.ML: toplevel pretty printing for Poly/ML 4.x and 5.x before 5.3;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: Isabelle/jEdit interface wrapper


## diagnostics

function fail()
{
  echo "$1" >&2
  exit 2
}


## main

[ -z "$JEDIT_HOME" ] && fail "Missing Isabelle/jEdit installation (JEDIT_HOME)"

INTERFACE="$JEDIT_HOME/interface"
[ ! -x "$INTERFACE" ] && fail "Bad interface script: \"$INTERFACE\""

exec "$INTERFACE" "$@"