#	g4bl-setup.csh - setup PATH to use this instance of G4beamline
#
#	USAGE: source ...path.../g4bl-setup.csh
#	...path... can be absolute or relative.

set called=($_)
set A=`dirname $called[2]`
set A=`cd $A; pwd`
setenv G4BL_DIR `dirname $A`
set A=$G4BL_DIR

if ( -x /bin/cygpath ) then
	setenv G4BL_DIR `/bin/cygpath -m $G4BL_DIR`
endif

setenv PATH $G4BL_DIR/bin:$PATH
unset called A
