Admin/polyml/polyi
author wenzelm
Mon, 22 May 2017 00:23:25 +0200
changeset 65897 94b0da1b242e
parent 63229 f951c624c1a1
child 67580 eb64467e8bcf
permissions -rwxr-xr-x
back to scala-2.11.8 due to apparent non-termination of HOL-Codegenerator_Test;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33833
c38c2a1883e7 minimal Poly/ML startup script;
wenzelm
parents:
diff changeset
     1
#!/usr/bin/env bash
c38c2a1883e7 minimal Poly/ML startup script;
wenzelm
parents:
diff changeset
     2
#
63229
f951c624c1a1 updated to recent changes of Poly/ML directory layout;
wenzelm
parents: 60983
diff changeset
     3
# Portable Poly/ML command-line tool
33833
c38c2a1883e7 minimal Poly/ML startup script;
wenzelm
parents:
diff changeset
     4
c38c2a1883e7 minimal Poly/ML startup script;
wenzelm
parents:
diff changeset
     5
THIS="$(cd "$(dirname "$0")"; pwd)"
c38c2a1883e7 minimal Poly/ML startup script;
wenzelm
parents:
diff changeset
     6
c38c2a1883e7 minimal Poly/ML startup script;
wenzelm
parents:
diff changeset
     7
export LD_LIBRARY_PATH="$THIS:$LD_LIBRARY_PATH"
c38c2a1883e7 minimal Poly/ML startup script;
wenzelm
parents:
diff changeset
     8
export DYLD_LIBRARY_PATH="$THIS:$DYLD_LIBRARY_PATH"
c38c2a1883e7 minimal Poly/ML startup script;
wenzelm
parents:
diff changeset
     9
63229
f951c624c1a1 updated to recent changes of Poly/ML directory layout;
wenzelm
parents: 60983
diff changeset
    10
if type -p rlwrap > /dev/null
f951c624c1a1 updated to recent changes of Poly/ML directory layout;
wenzelm
parents: 60983
diff changeset
    11
then
f951c624c1a1 updated to recent changes of Poly/ML directory layout;
wenzelm
parents: 60983
diff changeset
    12
  exec rlwrap "$THIS/poly" "$@"
f951c624c1a1 updated to recent changes of Poly/ML directory layout;
wenzelm
parents: 60983
diff changeset
    13
else
f951c624c1a1 updated to recent changes of Poly/ML directory layout;
wenzelm
parents: 60983
diff changeset
    14
  exec "$THIS/poly" "$@"
f951c624c1a1 updated to recent changes of Poly/ML directory layout;
wenzelm
parents: 60983
diff changeset
    15
fi