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 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/bin') 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") -- cgit v1.2.3-55-g6feb