#!/bin/tcsh -f # identify location of osrelease.pl script if ( $?HALLD_RECON_HOME ) then set osrelease=${HALLD_RECON_HOME}/src/BMS/osrelease.pl else set osrelease=${HOME}/work/builds/scripts/osrelease.pl endif if ( ! -e ${osrelease} ) set osrelease=/gluex/builds/devel/packages/SBMS/osrelease.pl if ( ! -e ${osrelease} ) set osrelease=/group/halld/Software/scripts/osrelease.pl # set BMS_OSNAME if ( -e ${osrelease} ) then setenv BMS_OSNAME `${osrelease}` if( $?loginsh ) echo "BMS_OSNAME=${BMS_OSNAME}" else if( $?loginsh ) echo "can't find a osrelease.pl script!" endif