aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/init
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-02-20 15:56:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-02-20 15:56:28 -0300
commit0713c6ce61b42938791ff93d5242ce0b5a49d499 (patch)
tree150e3ec900f2afc3a3fb6cc50cab4c27b2fbf416 /share/hydra/init
parentff85837ac65caf15eae9f7d96fdc768f15b9fbd1 (diff)
downloadhydra-0713c6ce61b42938791ff93d5242ce0b5a49d499.tar.gz
hydra-0713c6ce61b42938791ff93d5242ce0b5a49d499.tar.bz2
More init/sync fixes
Diffstat (limited to 'share/hydra/init')
-rwxr-xr-xshare/hydra/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/init b/share/hydra/init
index 2920af4..161c723 100755
--- a/share/hydra/init
+++ b/share/hydra/init
@@ -49,7 +49,7 @@ if [ ! -z "$REMOTE" ]; then
# Initialize only the required repositories
for repo in $BASEREPOS; do
- if [ -e '.gitmodules' ] && grep -q \"config\" .gitmodules; then
+ if [ -e '.gitmodules' ] && grep -q \"$repo\" .gitmodules; then
git submodule update --init $repo
else
REMOTE="`echo $REMOTE | sed -e 's|/$||'`"