diff options
| author | Hisham <hisham@gobolinux.org> | 2016-03-14 22:48:23 -0300 |
|---|---|---|
| committer | Hisham <hisham@gobolinux.org> | 2016-03-14 22:48:23 -0300 |
| commit | c2d4f3f467f5220ccb45f1f7da4e170af31c869c (patch) | |
| tree | 4e1bb4e914c118117fbf8d592c358b1f95e85cb1 /src | |
| parent | e9c879349a87fdbd44214473c32a43ecbd4c5b30 (diff) | |
| parent | ab6802aeee0f22a7705161654074fb02e33c5bed (diff) | |
| download | luarocks-c2d4f3f467f5220ccb45f1f7da4e170af31c869c.tar.gz luarocks-c2d4f3f467f5220ccb45f1f7da4e170af31c869c.tar.bz2 luarocks-c2d4f3f467f5220ccb45f1f7da4e170af31c869c.zip | |
Merge branch 'master' of https://github.com/keplerproject/luarocks
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/cfg.lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 2924e435..0099ec3a 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
| @@ -124,6 +124,9 @@ elseif system and system:match("^MINGW") then | |||
| 124 | cfg.platforms.windows = true | 124 | cfg.platforms.windows = true |
| 125 | cfg.platforms.mingw32 = true | 125 | cfg.platforms.mingw32 = true |
| 126 | cfg.platforms.win32 = true | 126 | cfg.platforms.win32 = true |
| 127 | elseif system == "Haiku" then | ||
| 128 | cfg.platforms.unix = true | ||
| 129 | cfg.platforms.haiku = true | ||
| 127 | else | 130 | else |
| 128 | cfg.platforms.unix = true | 131 | cfg.platforms.unix = true |
| 129 | -- Fall back to Unix in unknown systems. | 132 | -- Fall back to Unix in unknown systems. |
| @@ -142,11 +145,11 @@ local platform_order = { | |||
| 142 | macosx = 8, | 145 | macosx = 8, |
| 143 | cygwin = 9, | 146 | cygwin = 9, |
| 144 | msys = 10, | 147 | msys = 10, |
| 148 | haiku = 11, | ||
| 145 | -- Windows | 149 | -- Windows |
| 146 | win32 = 11, | 150 | win32 = 12, |
| 147 | mingw32 = 12, | 151 | mingw32 = 13, |
| 148 | windows = 13 } | 152 | windows = 14 } |
| 149 | |||
| 150 | 153 | ||
| 151 | -- Path configuration: | 154 | -- Path configuration: |
| 152 | local sys_config_file, home_config_file | 155 | local sys_config_file, home_config_file |
