diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-25 15:09:42 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-25 15:09:42 -0300 |
| commit | a615146836e373deec0765c643afaeb7409b139d (patch) | |
| tree | cbc33f18f3252d2b1ddf108ecf6466f22fcc5e0e /src | |
| parent | 40699de5c269507f0a70af1106ea1894d0d965ed (diff) | |
| parent | d0d848ad3bd364993e4c8f933c14075f4c91b126 (diff) | |
| download | luarocks-a615146836e373deec0765c643afaeb7409b139d.tar.gz luarocks-a615146836e373deec0765c643afaeb7409b139d.tar.bz2 luarocks-a615146836e373deec0765c643afaeb7409b139d.zip | |
Merge branch 'master' of github.com:keplerproject/luarocks
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>") |
