Put this in /etc/rc.conf:
svnserve_enable="YES"
#Optional lines
svnserve_flags="-d --listen-port=1234"
svnserve_user="www"
svnserve_data="/store/svn/"
And start daemon with /usr/local/etc/rc.d/svnserve start
So, SVN can work with apache (webdav) or standalone daemon (svnserve).
echo is a tool for printing text not a binary data like images. binary mode forbids editing stream being output to stdout. And I dont know how to switch it in shellscript =)
I'd say it should be like my $eRes = eval {
...;
return 1;
};
unless( $eRes ) {
...;
}Or maybe more simple variant:eval {
...;
return 1;
} || do {
...;
}
This cus some errors can put "0" or "" into $@ variable. Already got this kind of problem with DBI exceptions
Yes without prototype it will be "unresolve" error. But one *.o file should have declaration normal while other file should have somthing like this extern int fonction1(void);
Including function.h from your main.c should give fail if you trying to make two object files (main.o and function.o). This is because including function.h declares "int fonction1(void)" protoype which is not resolved without function.c. For this things there is a extern modifier in C language...
I think there is no such glob LOG outside eval block so your close ignored.
Anyway better if you dont use external programs in your script, so SirDice's suggestion is better
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.