bin/isabelle_process
changeset 62588 cd266473b81b
parent 62587 e31bf8ed5397
child 62589 b5783412bfed
equal deleted inserted replaced
62587:e31bf8ed5397 62588:cd266473b81b
     1 #!/usr/bin/env bash
       
     2 #
       
     3 # Author: Makarius
       
     4 #
       
     5 # Isabelle process startup script.
       
     6 
       
     7 if [ -L "$0" ]; then
       
     8   TARGET="$(LC_ALL=C ls -l "$0" | sed 's/.* -> //')"
       
     9   exec "$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd "$(dirname "$TARGET")"; pwd)/$(basename "$TARGET")" "$@"
       
    10 fi
       
    11 
       
    12 ISABELLE_HOME="$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd ..; pwd)"
       
    13 source "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2
       
    14 
       
    15 
       
    16 isabelle_admin_build jars || exit $?
       
    17 
       
    18 "$ISABELLE_TOOL" java isabelle.ML_Process "$@"