11 lines
174 B
Tcsh
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"
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|