mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-29 17:56:19 +00:00
7 lines
176 B
Bash
7 lines
176 B
Bash
|
#!/bin/sh
|
||
|
svnusr="our-root"
|
||
|
svnpwd="__our_root_password__"
|
||
|
cd /var/svn/problem/$1/cur/$1
|
||
|
svn update --username $svnusr --password $svnpwd
|
||
|
chown www-data /var/svn/problem/$1 -R
|