diff options
| author | ruki <[email protected]> | 2021-07-23 07:29:49 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-23 07:29:49 +0800 |
| commit | 0df0ef77cf78735ca5565fbf85cf321fde295593 (patch) | |
| tree | 6bcd00b2c831a27fdbb4167f8457f6f42ee6f113 | |
| parent | f450a0985d8a9fd937858ff8a1b799f51307335a (diff) | |
Update download_resources.lua
| -rw-r--r-- | xmake/modules/private/action/require/impl/actions/download_resources.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/download_resources.lua b/xmake/modules/private/action/require/impl/actions/download_resources.lua index 5bf1f9a46..67fcf0923 100644 --- a/xmake/modules/private/action/require/impl/actions/download_resources.lua +++ b/xmake/modules/private/action/require/impl/actions/download_resources.lua @@ -68,7 +68,7 @@ function _checkout(package, resource_name, resource_url, resource_revision) git.checkout(resource_revision, {repodir = resourcedir}) -- update all submodules - if os.isdir(".gitmodules") then + if os.isfile(".gitmodules") then git.submodule.update({init = true, recursive = true, longpaths = longpaths, repodir = resourcedir}) end end |
