diff options
| -rw-r--r-- | xmake/actions/create/template.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/create/template.lua b/xmake/actions/create/template.lua index ffba50f60..3162f30b2 100644 --- a/xmake/actions/create/template.lua +++ b/xmake/actions/create/template.lua @@ -73,7 +73,7 @@ function _need_replace_variables(filepath) if not os.isfile(filepath) then return false end - if path.filename(filepath) == "xmake.lua" then + if path.filename(filepath):lower() == "xmake.lua" then return true end local extension = path.extension(filepath) |
