summaryrefslogtreecommitdiffhomepage
path: root/libs/uvldoc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/uvldoc')
-rw-r--r--libs/uvldoc/luasrc/uvldoc/renderer.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/uvldoc/luasrc/uvldoc/renderer.lua b/libs/uvldoc/luasrc/uvldoc/renderer.lua
index 7a188f6cf..79b6cdb28 100644
--- a/libs/uvldoc/luasrc/uvldoc/renderer.lua
+++ b/libs/uvldoc/luasrc/uvldoc/renderer.lua
@@ -14,7 +14,7 @@ $Id$
]]--
local io = require "io"
-local fs = require "luci.fs"
+local fs = require "nixio.fs"
local uvl = require "luci.uvl"
local util = require "luci.util"
local ltn12 = require "luci.ltn12"
@@ -48,7 +48,7 @@ function Generator.make(self)
fs.mkdir(self.output)
for i, file in ipairs(self.additionals) do
- fs.copy(self.sourcedir .. file, self.output .. "/" .. file)
+ fs.datacopy(self.sourcedir .. file, self.output .. "/" .. file)
end
template.compiler_mode = "memory"