diff options
| author | HapiFive <[email protected]> | 2024-05-15 04:52:09 +0800 |
|---|---|---|
| committer | HapiFive <[email protected]> | 2024-05-15 04:52:09 +0800 |
| commit | e53c2e2d454a9a6d21358f989e5e99f6d2984653 (patch) | |
| tree | bbd8cbf1187e57c98a3fd3dbb69c9fd089ec19ed | |
| parent | 2bf516e96e12e5d56af75ed537ecaa040287be86 (diff) | |
remove loacl var
| -rw-r--r-- | xmake/rules/qt/ts/xmake.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/rules/qt/ts/xmake.lua b/xmake/rules/qt/ts/xmake.lua index 3e24319c4..47e6aea5d 100644 --- a/xmake/rules/qt/ts/xmake.lua +++ b/xmake/rules/qt/ts/xmake.lua @@ -33,8 +33,7 @@ rule("qt.ts") -- get source file local lupdate_argv = {"-no-obsolete"} for _, sourcebatch in pairs(target:sourcebatches()) do - local sourcefiles = sourcebatch.sourcefiles - if sourcefiles then + if sourcebatch.sourcefiles then for _, sourcefile in ipairs(sourcebatch.sourcefiles) do table.join2(lupdate_argv, path(sourcefile)) end |
