diff options
author | Jay Vaughan <jay.vaughan@hiq-dynlab.at> | 2014-12-05 14:45:49 +0100 |
---|---|---|
committer | Jay Vaughan <jay.vaughan@hiq-dynlab.at> | 2014-12-05 14:45:49 +0100 |
commit | c4558a3bfdd59d58f24fc756667cf482ece83e6a (patch) | |
tree | bee957984c5d065177c65e322af5fa32615b7b40 | |
parent | db46b2203d2348c3b470605430cdb183466e259e (diff) | |
download | luarocks-c4558a3bfdd59d58f24fc756667cf482ece83e6a.tar.gz luarocks-c4558a3bfdd59d58f24fc756667cf482ece83e6a.tar.bz2 luarocks-c4558a3bfdd59d58f24fc756667cf482ece83e6a.zip |
OSX 10.10 Yosemite sw_vers update
-rw-r--r-- | src/luarocks/cfg.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 2d02230b..8f7cab1b 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -445,8 +445,8 @@ if detected.macosx then | |||
445 | defaults.variables.STATFLAG = "-f '%A'" | 445 | defaults.variables.STATFLAG = "-f '%A'" |
446 | local version = io.popen("sw_vers -productVersion"):read("*l") | 446 | local version = io.popen("sw_vers -productVersion"):read("*l") |
447 | version = tonumber(version and version:match("^[^.]+%.([^.]+)")) or 3 | 447 | version = tonumber(version and version:match("^[^.]+%.([^.]+)")) or 3 |
448 | if version >= 5 then | 448 | if version >= 10 then |
449 | version = 5 | 449 | version = 10 |
450 | else | 450 | else |
451 | defaults.gcc_rpath = false | 451 | defaults.gcc_rpath = false |
452 | end | 452 | end |