diff options
-rwxr-xr-x | src/bin/luarocks | 3 | ||||
-rwxr-xr-x | src/bin/luarocks-admin | 3 | ||||
-rw-r--r-- | src/luarocks/util.lua | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks index 8ed47fc0..d2f3c220 100755 --- a/src/bin/luarocks +++ b/src/bin/luarocks | |||
@@ -1,5 +1,4 @@ | |||
1 | #!/Programs/Lua/Current/bin/lua | 1 | #!/usr/bin/env lua |
2 | package.path = [[/Users/hisham/luarocks/src/?.lua;]]..package.path | ||
3 | 2 | ||
4 | -- this should be loaded first. | 3 | -- this should be loaded first. |
5 | local cfg = require("luarocks.cfg") | 4 | local cfg = require("luarocks.cfg") |
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin index 051c7e2a..2890d1f1 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin | |||
@@ -1,5 +1,4 @@ | |||
1 | #!/Programs/Lua/Current/bin/lua | 1 | #!/usr/bin/env lua |
2 | package.path = [[/Users/hisham/luarocks/src/?.lua;]]..package.path | ||
3 | 2 | ||
4 | -- this should be loaded first. | 3 | -- this should be loaded first. |
5 | local cfg = require("luarocks.cfg") | 4 | local cfg = require("luarocks.cfg") |
diff --git a/src/luarocks/util.lua b/src/luarocks/util.lua index 6319ae14..24b5faad 100644 --- a/src/luarocks/util.lua +++ b/src/luarocks/util.lua | |||
@@ -82,7 +82,7 @@ local supported_flags = { | |||
82 | ["home"] = true, | 82 | ["home"] = true, |
83 | ["homepage"] = true, | 83 | ["homepage"] = true, |
84 | ["keep"] = true, | 84 | ["keep"] = true, |
85 | ["lib"] = true, | 85 | ["lib"] = "<library>", |
86 | ["license"] = "\"<text>\"", | 86 | ["license"] = "\"<text>\"", |
87 | ["list"] = true, | 87 | ["list"] = true, |
88 | ["local"] = true, | 88 | ["local"] = true, |