From 05a3d6aa2a2b94981077e495beefd75b16363f44 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 30 Sep 2017 11:37:32 +0800 Subject: fix setenv empty value bug --- xmake/modules/package/manager/install.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/package/manager/install.lua') 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!") -- cgit v1.3.1