From 64cab0d12833209d5a02c4a8aa9c6b4f452acdbc Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Sat, 16 Feb 2013 11:25:58 +0200 Subject: [PATCH] FIX: ard.lua: Assign self.script_dir to package.path Assign the value of the self.script_dir to the package.path so that the 'quvi/*' modules can be found. Reported-by: Fabian Homborg Signed-off-by: Toni Gundogdu --- share/lua/website/ard.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/share/lua/website/ard.lua b/share/lua/website/ard.lua index 39fb057..ac9f333 100644 --- a/share/lua/website/ard.lua +++ b/share/lua/website/ard.lua @@ -21,6 +21,7 @@ local Ard = {} function ident(self) + package.path = self.script_dir .. '/?.lua' local C = require 'quvi/const' local U = require 'quvi/util' local B = require 'quvi/bit' -- 2.11.4.GIT