When a module FOO defines that it should not be cloned recursive by setting FOO_RECURSIVE=NO, the shell variable "recurse" stays set to "--recurse" running git clone.
That setting only works for the first module, i.e. EPICS Base, as the "recurse" variable is global and never gets reset to an empty string between modules.
From @tboegi (see also PR #24):
When a module FOO defines that it should not be cloned recursive by setting
FOO_RECURSIVE=NO
, the shell variable "recurse" stays set to "--recurse" runninggit clone
.That setting only works for the first module, i.e. EPICS Base, as the "recurse" variable is global and never gets reset to an empty string between modules.