S2OJ/install/bundle/post-commit.sh
MascoSkray c5ef73dc76
style: move install files to a renamed folder
The installation files are dirty when they are outside of the folder. It now looks not so mess.
And there is no need to place empty jdk files. 果断删除之。
2017-09-07 13:16:13 +08:00

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