Linux is very cumbersome to build the SVN version of the library each time, if these are implemented through the shell script will be much simpler, then how the shell script to compile it? The following small series gives you a way to create an SVN version of the library using shell scripts.
Every time you build a new SVN version of the library it's always a lot of fun, so write a section of the script to automate the process, the detailed code is as follows:
#!/bin/bash
# by Www.111cn.net
Echo-n "Enter SVN Name:"
Read Svn_name
/usr/bin/svnadmin create/svnroot/$svn _name
If [$?-eq 0]; Then
# svnserve.conf
Sed-i ' s/# anon-access = read/anon-access = None/g '/svnroot/$svn _name/conf/svnserve.conf
Sed-i ' s/# auth-access = write/auth-access = Write/g '/svnroot/$svn _name/conf/svnserve.conf
Sed-i ' s/# password-db = passwd/password-db =/svnroot/conf/passwd/g '/svnroot/$svn _name/conf/svnserve.conf
Sed-i ' s/# authz-db = authz/authz-db = Authz/g '/svnroot/$svn _name/conf/svnserve.conf
# Authz
Cat "/svnroot/$svn _name/conf/authz" "EOF
[Groups]
Developer = Jason
[/]
@developer = RW
Eof
Fi
Here's how Linux uses the shell script to build the SVN repository, and if you're tired of having to manually build the SVN repository over and over again, you can quickly implement it with a shell script.