diff options
Diffstat (limited to 'share/hydra/init')
-rwxr-xr-x | share/hydra/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/init b/share/hydra/init index 7389924..eaaaa89 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' ] && git submodule | grep -q " $repo "; then + if [ -e '.gitmodules' ] && git submodule | grep -q " $repo$"; then git submodule update --init $repo else REMOTE="`echo $REMOTE | sed -e 's|/$||'`" |