From 83b0f6d2343f2631b9dc96c09c2bc4b2cfadd17f Mon Sep 17 00:00:00 2001 From: Hisham Date: Thu, 28 Jul 2016 18:15:35 -0300 Subject: Tweak tests for luarocks-3 branch. --- 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 21f17da9..633f9f43 100755 --- a/src/bin/luarocks +++ b/src/bin/luarocks @@ -1,4 +1,5 @@ -#!/usr/bin/env lua +#!/Programs/Lua/5.3.0/bin/lua +package.path = [[/Users/hisham/luarocks/src/?.lua;]]..package.path -- this should be loaded first. local cfg = require("luarocks.core.cfg") diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin index 660c0a70..587afcab 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin @@ -1,4 +1,5 @@ -#!/usr/bin/env lua +#!/Programs/Lua/5.3.0/bin/lua +package.path = [[/Users/hisham/luarocks/src/?.lua;]]..package.path -- this should be loaded first. local cfg = require("luarocks.core.cfg") -- cgit v1.2.3-55-g6feb