if [ $# -ne 1 ] then echo 'invalid argument' exit 1 fi path=/var/svn/problem/$1 mkdir $path svnadmin create $path cat >$path/conf/svnserve.conf <$path/conf/passwd <$path/hooks/post-commit <