2011-02-04 05:32:30 -06:00
|
|
|
#!/bin/bash
|
2010-12-13 08:00:40 -06:00
|
|
|
|
2011-02-09 09:47:27 -06:00
|
|
|
scriptPath="${BASH_SOURCE[0]}";
|
|
|
|
|
|
|
|
if [ -h "${scriptPath}" ] then
|
|
|
|
while [ -h "${scriptPath}" ]; do scriptPath=`readlink "${scriptPath}"`; done
|
|
|
|
fi
|
|
|
|
|
|
|
|
pushd . > /dev/null
|
|
|
|
cd `dirname ${scriptPath}` > /dev/null
|
|
|
|
sysconfDir=`pwd`;
|
|
|
|
popd > /dev/null
|
|
|
|
|
|
|
|
coriolisEnvPy="${sysconfDir}/coriolisEnv.py"
|
|
|
|
|
|
|
|
if [ -e ${coriolisEnvPy} ]; then
|
|
|
|
eval "`${coriolisEnvPy} --v2 --release --shared --python`"
|
2010-12-13 08:00:40 -06:00
|
|
|
else
|
2011-02-09 09:47:27 -06:00
|
|
|
echo "[ERROR] Missing ${coriolisEnvPy} script."
|
2010-12-13 08:00:40 -06:00
|
|
|
fi
|