Ticket #46172: class.in

File class.in, 447 bytes (added by smaret (Sebastien Maret), 10 years ago)
Line 
1#!/bin/sh -e
2
3export GAG_ROOT_DIR="@PREFIX@/lib/gildas"
4export GAG_PATH="${GAG_ROOT_DIR}/etc"
5export GAG_EXEC_SYSTEM="x86_64-darwin-gfortran"
6if [ -z "\$PYTHONPATH" ]; then
7  PYTHONPATH="${GAG_ROOT_DIR}/${GAG_EXEC_SYSTEM}/python"
8else
9  PYTHONPATH="${GAG_ROOT_DIR}/${GAG_EXEC_SYSTEM}/python:${PYTHONPATH}"
10fi
11export PYTHONPATH
12export DYLD_LIBRARY_PATH=${GAG_ROOT_DIR}/${GAG_EXEC_SYSTEM}/lib/
13exec ${GAG_ROOT_DIR}/${GAG_EXEC_SYSTEM}/bin/class ${*}