diff --git a/include/get.sh b/include/get.sh index 959bdd6e..0b0c7f71 100644 --- a/include/get.sh +++ b/include/get.sh @@ -89,16 +89,7 @@ git_prep() x_ xbmkdir "${_loc%/*}" fi - if [ -z "$_loc" ]; then - # we only used git_prep to update caches, on - # a multi-tree project. tmpgit is useless now. - - x_ rm -Rf "$tmpgit" - else - # actual downloaded - - x_ mv "$tmpgit" "$_loc" - fi + x_ mv "$tmpgit" "$_loc" } fetch_submodule()