[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kde-common/release
From:       Torgny Nyblom <nyblom () kde ! org>
Date:       2012-10-22 15:26:45
Message-ID: 20121022152646.10B7EAC854 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1322020 by tnyblom:

Make the repo adresses configurable


 M  +2 -0      checkout  
 M  +5 -1      setup-git-modules.sh  


--- trunk/kde-common/release/checkout #1322019:1322020
@@ -8,10 +8,12 @@
 SVNUSER=tnyblom
 SVNPROTOCOL=svn+ssh
 
+if test -z "$BASE"; then
 test -n "$SVNUSER" || { echo "You must set SVNUSER"; exit 1; }
 test -n "$SVNPROTOCOL" || { echo "You must set SVNPROTOCOL"; exit 1; }
 
 BASE=$SVNPROTOCOL://$SVNUSER@svn.kde.org/home/kde
+fi
 
 . versions
 
--- trunk/kde-common/release/setup-git-modules.sh #1322019:1322020
@@ -3,6 +3,10 @@
 
 #set -x
 
+if test -z "$BASE"; then
+    BASE="git@git.kde.org"
+fi
+
 cd clean
 cat ../modules.git | while read module branch; do
     if ! test -d $module/.git ; then
@@ -13,7 +17,7 @@
     fi
 
     if ! test -d $module; then
-        git clone git@git.kde.org:$module
+        git clone $BASE:$module
     fi
 
     if test -d $module; then
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic