On 2006/10/19 21:28, sonjaya wrote:
> i have script for update automaticly here:
> #!/bin/csh

c-shell for scripting? are you mad? :-)

> 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

...and now you try and run it under Bourne shell.
either "/root/update_part1.sh" or "csh /root/update_part1.sh".

I don't think I'd run it as root either, tbh.

Reply via email to