diff options
Diffstat (limited to 'math/dislin/files/dislin.sh.in')
-rw-r--r-- | math/dislin/files/dislin.sh.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/math/dislin/files/dislin.sh.in b/math/dislin/files/dislin.sh.in new file mode 100644 index 000000000000..3292b671be6a --- /dev/null +++ b/math/dislin/files/dislin.sh.in @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Wrapper script for DISLIN binaries. +# +# $FreeBSD$ +# + +DISLIN=%%DISLIN_DIR%% +export DISLIN + +self="${0##*/}" +program="${DISLIN}/bin/${self}" + +if [ -x "${program}" ] ; then + exec "${program}" "$@" +else + echo "${self} does not seem to exist." 1>&2 + exit 1 +fi |