diff --git a/src/blua/liolib.c b/src/blua/liolib.c index a9e71f74..b5ff3361 100644 --- a/src/blua/liolib.c +++ b/src/blua/liolib.c @@ -190,7 +190,7 @@ static int io_open (lua_State *L) { return pushresult(L,0,filename); } - destFilename = va("luafiles"PATHSEP"%s", filename); + destFilename = va("%s"PATHSEP"luafiles"PATHSEP"%s", srb2home, filename); // Make directories as needed splitter = destFilename;