diff options
Diffstat (limited to 'include/git.sh')
-rwxr-xr-x | include/git.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git.sh b/include/git.sh index f82fd103..a1afcee8 100755 --- a/include/git.sh +++ b/include/git.sh @@ -145,6 +145,7 @@ fetch_submodule() [ -z "$mod" ] && continue git clone "$mod" "$tmpgit/$1" || rm -Rf "$tmpgit/$1" \ || $err "!rm $mod $project $cfgdir $1" + [ -d "$tmpgit/$1" ] && break done [ -d "$tmpgit/$1" ] || $err "!clone $mod $project $mcfgdir $1" else |