- Cleaned up launching procedure for ginaccint.bin.
[ginac.git] / cint / ginaccint.in
1 #! /bin/sh
2
3 binprog=`basename $0`".bin"
4 prefix=@prefix@
5 exec_prefix=@exec_prefix@
6 bindir=@bindir@
7 libdir=@libdir@
8 config_cintsysdir=@CINTSYSDIR@
9 program=${bindir}/${binprog}
10
11 # Unless the user doesn't override $CINTSYSDIR, assume the value
12 # given at configuration time:
13 CINTSYSDIR=${CINTSYSDIR-$config_cintsysdir}
14 export CINTSYSDIR
15
16 # Extend LD_LIBRARY_PATH, needed because Cint isn't libtoolized:
17 LD_LIBRARY_PATH=${libdir}:${LD_LIBRARY_PATH}
18 export LD_LIBRARY_PATH
19
20 # Execute ginaccint.bin with all arguments given:
21 exec ${program} ${1+"$@"}
22
23 echo "$0: cannot exec ${program} ${1+"$@"}"
24 exit 1