--- bin/isabelle-process.orig Sat Jan 12 16:42:22 2008 +++ bin/isabelle-process Sat Jan 12 16:42:58 2008 @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh # # $Id: isabelle-process,v 1.17 2006/12/04 20:33:36 aspinall Exp $ # Author: Markus Wenzel, TU Muenchen @@ -16,12 +16,12 @@ PRG="$(basename "$0")" ISABELLE_HOME="$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd ..; pwd)" -source "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2 +. "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2 ## diagnostics -function usage() +usage() { echo echo "Usage: $PRG [OPTIONS] [INPUT] [OUTPUT]" @@ -49,7 +49,7 @@ exit 1 } -function fail() +fail() { echo "$1" >&2 exit 2