_ep_write_gitupdate_script(): git submodules update is never recursive
The _ep_write_gitupdate_script()
function in the ExternalProject
module refers to a variable named git_submodules_recurse
, but this is not defined. The only place currently setting a variable by this name is in _ep_add_download_command()
. There needs to be a similar block of code in _ep_add_update_command()
, or perhaps factor out that logic to a helper function. At the moment, the git submodule update will never be recursive, even if the clone step was recursive.
This bug was introduced by 5bc62307 in !3923 (merged)