aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/sync
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-19 12:36:15 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-19 12:36:15 -0200
commit2d6949dded8388f2327c1a762aea34ada060a07a (patch)
tree1304429ff80ce0768b2049ab736aadecbb8cd0b3 /share/hydra/sync
parentd74173d941b2a7229221627e9c462dc9f9a2121c (diff)
downloadhydra-2d6949dded8388f2327c1a762aea34ada060a07a.tar.gz
hydra-2d6949dded8388f2327c1a762aea34ada060a07a.tar.bz2
Sync: repo URLs
Diffstat (limited to 'share/hydra/sync')
-rwxr-xr-xshare/hydra/sync4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydra/sync b/share/hydra/sync
index fc71b73..d425d90 100755
--- a/share/hydra/sync
+++ b/share/hydra/sync
@@ -35,10 +35,10 @@ function hydra_sync {
echo "Please set domain configuration"
exit 1
fi
- url="gitolite@admin.`cat $HYDRA_FOLDER/config/domain`:$repository"
+ url="git@admin.`cat $HYDRA_FOLDER/config/domain`:$repository"
fi
- git clone $url $HYDRA_FOLDER/$repository
+ git clone ${url}${repository} $HYDRA_FOLDER/$repository
fi
if [ -d "$HYDRA_FOLDER/$repository/.git" ]; then