Ticket #42886: mapping.in
File mapping.in, 384 bytes (added by smaret (Sebastien Maret), 11 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 | exec ${GAG_ROOT_DIR}/${GAG_EXEC_SYSTEM}/bin/mapping ${*} |