diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-15 18:59:15 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-25 22:04:11 -0300 |
| commit | 9499bb875a77cf877c5f316135003dd0d124f2c5 (patch) | |
| tree | 6df7e66363a5c9f9be3e6fcb1e5e5e3fa002f2bd /src | |
| parent | a4ac8691ab392886cc43835040b93bbd023a42da (diff) | |
| download | luarocks-9499bb875a77cf877c5f316135003dd0d124f2c5.tar.gz luarocks-9499bb875a77cf877c5f316135003dd0d124f2c5.tar.bz2 luarocks-9499bb875a77cf877c5f316135003dd0d124f2c5.zip | |
build: do not download sources when building only deps
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/build.lua | 2 |
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) | |||
| 144 | end | 144 | end |
| 145 | 145 | ||
| 146 | local function fetch_and_change_to_source_dir(rockspec, opts) | 146 | local 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 |
