diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-23 23:48:18 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-23 23:48:18 -0300 |
| commit | 294e08fa074d47063e3a83bc9f62587d39ce1d44 (patch) | |
| tree | 8da209010c1c0172a8dcf4d365363763b06cac9a /src | |
| parent | 62d4e051c679c3bdf027b3d63fc33a2c68921772 (diff) | |
| download | luarocks-294e08fa074d47063e3a83bc9f62587d39ce1d44.tar.gz luarocks-294e08fa074d47063e3a83bc9f62587d39ce1d44.tar.bz2 luarocks-294e08fa074d47063e3a83bc9f62587d39ce1d44.zip | |
Fix --lib flag (and my last commit goof...)
Diffstat (limited to 'src')
| -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, |
