From bacd3da5b1406d327dd4009b7ec3ea1834117534 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 30 Sep 2015 19:02:09 -0300 Subject: Use env for setting MACOSX_DEPLOYMENT_TARGET. See #422. --- src/bin/luarocks | 3 ++- src/bin/luarocks-admin | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/bin') diff --git a/src/bin/luarocks b/src/bin/luarocks index be6c2b81..8ade7a3d 100755 --- a/src/bin/luarocks +++ b/src/bin/luarocks @@ -1,4 +1,5 @@ -#!/usr/bin/env lua +#!/Programs/Lua/5.1.5/bin/lua +package.path = [[/Users/hisham/luarocks/prefix-5.1/share/lua/5.1/?.lua;]]..package.path -- this should be loaded first. local cfg = require("luarocks.cfg") diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin index 2890d1f1..bb1be40a 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin @@ -1,4 +1,5 @@ -#!/usr/bin/env lua +#!/Programs/Lua/5.1.5/bin/lua +package.path = [[/Users/hisham/luarocks/prefix-5.1/share/lua/5.1/?.lua;]]..package.path -- this should be loaded first. local cfg = require("luarocks.cfg") -- cgit v1.2.3-55-g6feb