From ea7cbcbf0a2affb2d3981af11bbd0a326562b426 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Sun, 20 Oct 2013 20:43:49 +0100 Subject: [PATCH] Fix omission in previous commit --- npcf/npcf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npcf/npcf.lua b/npcf/npcf.lua index caadbc0..774024a 100644 --- a/npcf/npcf.lua +++ b/npcf/npcf.lua @@ -26,7 +26,7 @@ if input then io.close(input) else local dir = string.gsub(NPCF_DATADIR, "/", package.config:sub(1,1)) - os.execute("mkdir "..NPCF_DATADIR) + os.execute("mkdir "..dir) local output = io.open(NPCF_DATADIR.."/index.txt", 'w') if output then output:write(minetest.serialize(index))