aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2020-01-15 18:59:15 -0300
committerHisham Muhammad <hisham@gobolinux.org>2020-01-25 22:04:11 -0300
commit9499bb875a77cf877c5f316135003dd0d124f2c5 (patch)
tree6df7e66363a5c9f9be3e6fcb1e5e5e3fa002f2bd
parenta4ac8691ab392886cc43835040b93bbd023a42da (diff)
downloadluarocks-9499bb875a77cf877c5f316135003dd0d124f2c5.tar.gz
luarocks-9499bb875a77cf877c5f316135003dd0d124f2c5.tar.bz2
luarocks-9499bb875a77cf877c5f316135003dd0d124f2c5.zip
build: do not download sources when building only deps
-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 ca0237b7..eee4bb99 100644
--- a/src/luarocks/build.lua
+++ b/src/luarocks/build.lua
@@ -144,7 +144,7 @@ local function process_dependencies(rockspec, opts)
144end 144end
145 145
146local function fetch_and_change_to_source_dir(rockspec, opts) 146local function fetch_and_change_to_source_dir(rockspec, opts)
147 if opts.minimal_mode then 147 if opts.minimal_mode or opts.build_only_deps then
148 return true 148 return true
149 end 149 end
150 if opts.need_to_fetch then 150 if opts.need_to_fetch then