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;

#!/usr/bin/env bash
#
# Portable Poly/ML command-line tool

THIS="$(cd "$(dirname "$0")"; pwd)"

export LD_LIBRARY_PATH="$THIS:$LD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH="$THIS:$DYLD_LIBRARY_PATH"

if type -p rlwrap > /dev/null
then
  exec rlwrap "$THIS/poly" "$@"
else
  exec "$THIS/poly" "$@"
fi