projects
/
core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5a8c6e0
)
Updated script
author
Roland Häder
<roland@mxchange.org>
Thu, 20 Nov 2008 01:21:16 +0000
(
01:21
+0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 20 Nov 2008 01:21:16 +0000
(
01:21
+0000)
setup-repos.sh
patch
|
blob
|
history
diff --git
a/setup-repos.sh
b/setup-repos.sh
index 02c3e4ba8899c972f6677d979d9a0e8c67246195..68f6a832f64d9d1ff985ad4538690a2126f8c07c 100755
(executable)
--- 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
#!/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"
svn mkdir branches tags trunk
svn propset -F ../core/trunk/svn-externals.txt trunk
svn commit -m "Initial import with linked core"
+cd