diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/command_line.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/luarocks/command_line.lua b/src/luarocks/command_line.lua index 71ded87d..8b74a65f 100644 --- a/src/luarocks/command_line.lua +++ b/src/luarocks/command_line.lua | |||
@@ -88,6 +88,10 @@ function run_command(...) | |||
88 | end | 88 | end |
89 | command = command:gsub("-", "_") | 89 | command = command:gsub("-", "_") |
90 | 90 | ||
91 | if cfg.local_by_default then | ||
92 | flags["local"] = true | ||
93 | end | ||
94 | |||
91 | if flags["to"] then | 95 | if flags["to"] then |
92 | if flags["to"] == true then | 96 | if flags["to"] == true then |
93 | die("Argument error: use --to=<path>") | 97 | die("Argument error: use --to=<path>") |