Ticket #42886: mapping.in

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