#!/bin/sh
# A little helper script of mine to setup a new development check-out directory
-svn co svn+ssh://www.mxchange.org/var/www/svn-repos/blog/
-cd blog
+if test "$1" == ""; then
+ echo "Usage: $0 <repos> Setup given repository locally."
+ exit
+fi
+
+svn co svn+ssh://www.mxchange.org/var/www/svn-repos/$1/
+cd $1
svn mkdir branches tags trunk
svn propset -F ../core/trunk/svn-externals.txt trunk
svn commit -m "Initial import with linked core"
+cd