On Thu, Oct 19, 2006 at 09:28:23PM +0700, sonjaya wrote: > i have script for update automaticly here: > # cat /root/update_part1.sh > #!/bin/csh ^^^^^^^^ > cd /usr/src > setenv CVS_CLIENT_PORT -1 > setenv CVSROOT [EMAIL PROTECTED]:/cvs > cvs -d $CVSROOT -q up -rOPENBSD_3_9 -Pd > date > /root/update_part1.log > > when i try run that script get error such like this : > # sh /root/update_part1.sh ^^ > /root/update_part1.sh[3]: setenv: not found > /root/update_part1.sh[4]: setenv: not found > cvs update: CVSROOT "-q" must be an absolute pathname > cvs [update aborted]: Bad CVSROOT. > > please tell me to fix it .
You have to choose one shell and stick to it....