シェルスクリプト(bash)を使ってSubversionのリポジトリを追加する
#------------------------------------------------- # Make Repository on Subversion #------------------------------------------------- # Argument checkingif [ "$1" = "" ]; then echo 'Not argument, Please Enter!' exit; fi # Variable assignmentrepo_name=$1 svn_path='/home/repos/' #------------------------------------------------- # Make Repository svnadmin create $svn_path$repo_name svn mkdir file://localhost$svn_path$repo_name/trunk -m "create" svn mkdir file://localhost$svn_path$repo_name/branche -m "create" svn mkdir file://localhost$svn_path$repo_name/tags -m "create" # Add Import Files#svn import [Import Path] file://localhost$svn_path$repo_name/trunk -m "import!!" # Permisson Changechmod -R 777 $svn_path