diff options
Diffstat (limited to 'xmake/actions/require/install.lua')
| -rw-r--r-- | xmake/actions/require/install.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/actions/require/install.lua b/xmake/actions/require/install.lua index 5192eb952..9d635f135 100644 --- a/xmake/actions/require/install.lua +++ b/xmake/actions/require/install.lua @@ -98,6 +98,10 @@ end -- install packages function main(requires) + -- avoid to run this task repeatly + if _g.installed then return end + _g.installed = true + -- init requires local requires_extra = nil if not requires then |
