abstractaccelerator/opene906/E906_RTL_FACTORY/setup/setup.csh

11 lines
174 B
Tcsh

#!/bin/csh
set pattern = "\/setup"`echo '$'`
setenv CODE_BASE_PATH `pwd | perl -pe "s/$pattern//"`
echo "Root of code base has been specified as:\n $CODE_BASE_PATH"