#!/bin/bash

cd $SAGE_DIRECTORY/bin

# Use the 2.4 version of python if running in Rocks environment
PYTHONEXE=python
#[ -x /opt/rocks/bin/python ] && PYTHONEXE=/opt/rocks/bin/python

# run sageLauncher differently if linux or if macos
if [ `uname` = "Linux" ]
then
    $PYTHONEXE sageLauncher.py $1
else
    pythonw sageLauncher.py $1
fi

