Commit 78c34394d5521e87b00739c039f3e0cd1a0ea818
1 parent
cb1cc3f7
clone all subdirectories in a seperate folder
Showing
1 changed file
with
2 additions
and
2 deletions
scripts/setup_submodules
@@ -107,10 +107,10 @@ function add_submodules() | @@ -107,10 +107,10 @@ function add_submodules() | ||
107 | echo -e "< ${SUB_MODULE} >" | 107 | echo -e "< ${SUB_MODULE} >" |
108 | if [[ "${OPEN_REPOS[*]}" =~ "${SUB_MODULE}" ]]; | 108 | if [[ "${OPEN_REPOS[*]}" =~ "${SUB_MODULE}" ]]; |
109 | then | 109 | then |
110 | - git submodule add -f ${GIT_URL_SUBS}/${SUB_MODULE}.git ${SUB_MODULE} | 110 | + git submodule add -f ${GIT_URL_SUBS}/${SUB_MODULE}.git submodules/${SUB_MODULE} |
111 | git config submodule.${SUB_MODULE}.url ${GIT_URL_SUBS}/${SUB_MODULE}.git | 111 | git config submodule.${SUB_MODULE}.url ${GIT_URL_SUBS}/${SUB_MODULE}.git |
112 | else | 112 | else |
113 | - git submodule add -f ${GIT_URL_SUBS_CLOSED}/${SUB_MODULE}.git ${SUB_MODULE} | 113 | + git submodule add -f ${GIT_URL_SUBS_CLOSED}/${SUB_MODULE}.git submodules/${SUB_MODULE} |
114 | git config submodule.${SUB_MODULE}.url ${GIT_URL_SUBS_CLOSED}/${SUB_MODULE}.git | 114 | git config submodule.${SUB_MODULE}.url ${GIT_URL_SUBS_CLOSED}/${SUB_MODULE}.git |
115 | fi | 115 | fi |
116 | done | 116 | done |