mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
ba10620125
Change log at <http://www.mps.mpg.de/dislin/news.html> PR: ports/117145 Submitted by: Daniel Voisine <voisined (at) wit.edu>
23 lines
333 B
Bash
23 lines
333 B
Bash
#!/bin/sh
|
|
#
|
|
# Wrapper script for DISLIN binaries.
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISLIN=%%DISLIN_DIR%%
|
|
export DISLIN
|
|
|
|
LD_LIBRARY_PATH=$DISLIN:$LD_LIBRARY_PATH
|
|
export LD_LIBRARY_PATH
|
|
|
|
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
|