diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-19 00:24:58 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-19 00:24:58 +0000 |
commit | 8fcd841aa9af96c8a4a4d3c1a555d2d1ed42332c (patch) | |
tree | cf6466b373236442e63742cb4f73b22579940784 /libs/uvldoc | |
parent | 6abba6163290b58cd9ebae98d8459ac38ef52a4b (diff) |
convert luci.fs users to nixio.fs api
Diffstat (limited to 'libs/uvldoc')
-rw-r--r-- | libs/uvldoc/luasrc/uvldoc/renderer.lua | 4 |
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" |