aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-06-13 14:41:21 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-06-13 14:41:21 +0300
commitad5576263538aa61a92e4c97bf5e52fc134bda22 (patch)
tree981a2af3f2c5ddb9eba9c25bbd5cb61b6b39bd7d
parent81332ad45404e7b9ffe72dae0beb311ec5c376d2 (diff)
downloadluarocks-ad5576263538aa61a92e4c97bf5e52fc134bda22.tar.gz
luarocks-ad5576263538aa61a92e4c97bf5e52fc134bda22.tar.bz2
luarocks-ad5576263538aa61a92e4c97bf5e52fc134bda22.zip
Fix an accidental global in luarocks.build
-rw-r--r--src/luarocks/build.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua
index f3388c7c..f87b2f1b 100644
--- a/src/luarocks/build.lua
+++ b/src/luarocks/build.lua
@@ -177,8 +177,8 @@ function build.build_rockspec(rockspec_file, need_to_fetch, minimal_mode, deps_m
177 return nil, "Rockspec error: build type not specified" 177 return nil, "Rockspec error: build type not specified"
178 end 178 end
179 179
180 local ok
180 if not build_only_deps then 181 if not build_only_deps then
181 local ok
182 ok, err, errcode = deps.check_external_deps(rockspec, "build") 182 ok, err, errcode = deps.check_external_deps(rockspec, "build")
183 if err then 183 if err then
184 return nil, err, errcode 184 return nil, err, errcode