lib/Tools/jedit
author wenzelm
Thu, 04 Dec 2008 23:02:56 +0100
changeset 28978 f3e37d78b4f7
parent 28649 58ab885469f5
child 29143 72c960b2b83e
permissions -rwxr-xr-x
future proofs: pass actual futures to facilitate composite computations; removed join_futures -- superceded by higher-level PureThy.force_proofs;

#!/usr/bin/env bash
#
# $Id$
# 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" "$@"