From 3db3f581838be722f23a5de3525579aa4801e3b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 20 Nov 2008 01:21:16 +0000 Subject: [PATCH] Updated script --- setup-repos.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/setup-repos.sh b/setup-repos.sh index 02c3e4ba..68f6a832 100755 --- a/setup-repos.sh +++ b/setup-repos.sh @@ -1,8 +1,14 @@ #!/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 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 -- 2.39.2