mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 04:30:37 -04:00
Change log at <http://www.mps.mpg.de/dislin/news.html> PR: ports/117145 Submitted by: Daniel Voisine <voisined (at) wit.edu>
22 lines
333 B
Bash
22 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
|