From 8fcd841aa9af96c8a4a4d3c1a555d2d1ed42332c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 19 Jul 2009 00:24:58 +0000 Subject: convert luci.fs users to nixio.fs api --- libs/uvldoc/luasrc/uvldoc/renderer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/uvldoc/luasrc') diff --git a/libs/uvldoc/luasrc/uvldoc/renderer.lua b/libs/uvldoc/luasrc/uvldoc/renderer.lua index 7a188f6cf9..79b6cdb280 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" -- cgit v1.2.3