no_mad
Full Member level 5
Q on csh script
Hi,
Here is my simple script:
Result:
It failed at setenv.
When I did echo $ROOT_PATH, it said ROOT_PATH: Undefined variable.
Please advice.
Thanks in advance.
Hi,
Here is my simple script:
Code:
#! /bin/csh -f
setenv ROOT_PATH `pwd`
Result:
It failed at setenv.
When I did echo $ROOT_PATH, it said ROOT_PATH: Undefined variable.
Please advice.
Thanks in advance.