Admin/polyml/polyi
author Lars Hupel <lars.hupel@mytum.de>
Tue, 11 Jul 2017 09:22:14 +0200
changeset 66264 d516da3e7c42
parent 63229 f951c624c1a1
child 67580 eb64467e8bcf
permissions -rwxr-xr-x
material from $AFP/Formula_Derivatives/FSet_More

#!/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