From 294e08fa074d47063e3a83bc9f62587d39ce1d44 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 23 Mar 2015 23:48:18 -0300 Subject: Fix --lib flag (and my last commit goof...) --- src/bin/luarocks | 3 +-- src/bin/luarocks-admin | 3 +-- src/luarocks/util.lua | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src') 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 @@ -#!/Programs/Lua/Current/bin/lua -package.path = [[/Users/hisham/luarocks/src/?.lua;]]..package.path +#!/usr/bin/env lua -- this should be loaded first. 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 @@ -#!/Programs/Lua/Current/bin/lua -package.path = [[/Users/hisham/luarocks/src/?.lua;]]..package.path +#!/usr/bin/env lua -- this should be loaded first. 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 = { ["home"] = true, ["homepage"] = true, ["keep"] = true, - ["lib"] = true, + ["lib"] = "", ["license"] = "\"\"", ["list"] = true, ["local"] = true, -- cgit v1.2.3-55-g6feb