diff --git a/LbConfiguration/scripts/ganga b/LbConfiguration/scripts/ganga new file mode 100755 index 0000000000000000000000000000000000000000..9b3c328579cf57bb1b9d42147b6321d052a572f0 --- /dev/null +++ b/LbConfiguration/scripts/ganga @@ -0,0 +1,19 @@ +#!/bin/sh + +# if the first command line option is --ganga-version use the version of +# Ganga specified as argument +GANGA_VERSION=LATEST +while [ $# -ne 0 ] ; do + case $1 in + --ganga-version) + shift + GANGA_VERSION=$1 + shift + ;; + *) break ;; + esac +done + +export GANGA_CONFIG_PATH=GangaLHCb/LHCb.ini +export GANGA_SITE_CONFIG_AREA=/cvmfs/lhcb.cern.ch/lib/GangaConfig/config +exec /cvmfs/ganga.cern.ch/Ganga/install/${GANGA_VERSION}/bin/ganga "$@"