From 62d4e051c679c3bdf027b3d63fc33a2c68921772 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 23 Mar 2015 23:35:48 -0300 Subject: Fix tests: new flag parser detected invalid flags in the testsuite. --- src/bin/luarocks | 3 ++- src/bin/luarocks-admin | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/bin/luarocks b/src/bin/luarocks index d2f3c220..8ed47fc0 100755 --- a/src/bin/luarocks +++ b/src/bin/luarocks @@ -1,4 +1,5 @@ -#!/usr/bin/env lua +#!/Programs/Lua/Current/bin/lua +package.path = [[/Users/hisham/luarocks/src/?.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..051c7e2a 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin @@ -1,4 +1,5 @@ -#!/usr/bin/env lua +#!/Programs/Lua/Current/bin/lua +package.path = [[/Users/hisham/luarocks/src/?.lua;]]..package.path -- this should be loaded first. local cfg = require("luarocks.cfg") -- cgit v1.2.3-55-g6feb