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