diff options
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r-- | src/luarocks/cfg.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 261411b7..45c73bf6 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -63,9 +63,11 @@ end | |||
63 | if system == "FreeBSD" then | 63 | if system == "FreeBSD" then |
64 | detected.unix = true | 64 | detected.unix = true |
65 | detected.freebsd = true | 65 | detected.freebsd = true |
66 | detected.bsd = true | ||
66 | elseif system == "Darwin" then | 67 | elseif system == "Darwin" then |
67 | detected.unix = true | 68 | detected.unix = true |
68 | detected.macosx = true | 69 | detected.macosx = true |
70 | detected.bsd = true | ||
69 | elseif system == "Linux" then | 71 | elseif system == "Linux" then |
70 | detected.unix = true | 72 | detected.unix = true |
71 | detected.linux = true | 73 | detected.linux = true |
@@ -83,7 +85,7 @@ end | |||
83 | 85 | ||
84 | -- Path configuration: | 86 | -- Path configuration: |
85 | 87 | ||
86 | local sys_config_file, home_config_file, home_tree | 88 | local sys_config_file, home_config_file |
87 | if detected.windows or detected.mingw32 then | 89 | if detected.windows or detected.mingw32 then |
88 | home = os.getenv("APPDATA") or "c:" | 90 | home = os.getenv("APPDATA") or "c:" |
89 | sys_config_file = "c:/luarocks/config.lua" | 91 | sys_config_file = "c:/luarocks/config.lua" |