diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2011-08-26 19:44:10 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-08-26 19:44:10 -0300 |
| commit | c0dc905564c23bf25c8514b127f7eecc2793af10 (patch) | |
| tree | 8bfffad370301f57acfd01ec92a2885f81ec7d93 | |
| parent | 14f42909edf4fd79a058484fc47013a3a22f6ab4 (diff) | |
| download | luarocks-c0dc905564c23bf25c8514b127f7eecc2793af10.tar.gz luarocks-c0dc905564c23bf25c8514b127f7eecc2793af10.tar.bz2 luarocks-c0dc905564c23bf25c8514b127f7eecc2793af10.zip | |
update bug report address
| -rw-r--r-- | src/luarocks/command_line.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/command_line.lua b/src/luarocks/command_line.lua index 50502257..ff8699ff 100644 --- a/src/luarocks/command_line.lua +++ b/src/luarocks/command_line.lua | |||
| @@ -15,7 +15,7 @@ local function die(message) | |||
| 15 | 15 | ||
| 16 | local ok, err = pcall(util.run_scheduled_functions) | 16 | local ok, err = pcall(util.run_scheduled_functions) |
| 17 | if not ok then | 17 | if not ok then |
| 18 | util.printerr("\nLuaRocks "..cfg.program_version.." internal bug (please report at luarocks-developers@lists.luaforge.net):\n"..err) | 18 | util.printerr("\nLuaRocks "..cfg.program_version.." internal bug (please report at luarocks-developers@lists.sourceforge.net):\n"..err) |
| 19 | end | 19 | end |
| 20 | util.printerr("\nError: "..message) | 20 | util.printerr("\nError: "..message) |
| 21 | os.exit(1) | 21 | os.exit(1) |
| @@ -142,7 +142,7 @@ function run_command(...) | |||
| 142 | if commands[command] then | 142 | if commands[command] then |
| 143 | local xp, ok, err = xpcall(function() return commands[command].run(unpack(args)) end, function(err) | 143 | local xp, ok, err = xpcall(function() return commands[command].run(unpack(args)) end, function(err) |
| 144 | die(debug.traceback("LuaRocks "..cfg.program_version | 144 | die(debug.traceback("LuaRocks "..cfg.program_version |
| 145 | .." bug (please report at luarocks-developers@lists.luaforge.net).\n" | 145 | .." bug (please report at luarocks-developers@lists.sourceforge.net).\n" |
| 146 | ..err, 2)) | 146 | ..err, 2)) |
| 147 | end) | 147 | end) |
| 148 | if xp and (not ok) then | 148 | if xp and (not ok) then |
