summaryrefslogtreecommitdiff
path: root/xmake/modules/package/manager/install.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-30 11:37:32 +0800
committerruki <[email protected]>2017-09-30 11:37:32 +0800
commit05a3d6aa2a2b94981077e495beefd75b16363f44 (patch)
treeb907f5d94ea0952d290c92c44553f72304a3edab /xmake/modules/package/manager/install.lua
parentb77dcc4cea91854766a718b5d03d49a25de6a180 (diff)
fix setenv empty value bug
Diffstat (limited to 'xmake/modules/package/manager/install.lua')
-rw-r--r--xmake/modules/package/manager/install.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/install.lua b/xmake/modules/package/manager/install.lua
index 175a1cecf..b06f38e22 100644
--- a/xmake/modules/package/manager/install.lua
+++ b/xmake/modules/package/manager/install.lua
@@ -40,7 +40,7 @@ function main(name, opt)
table.insert(scripts, import("yum.install", {anonymous = true}))
table.insert(scripts, import("pacman.install", {anonymous = true}))
table.insert(scripts, import("brew.install", {anonymous = true}))
- elseif host = "windows" then
+ elseif host == "windows" then
table.insert(scripts, import("pacman.install", {anonymous = true})) -- msys/mingw
end
assert(#scripts > 0, "package manager not found!")