From 2632dd4e5b25c6fbaa3feeeb044c69a1080003f4 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 26 Jan 2009 21:54:28 +0000 Subject: More work to remove unnecessary popen calls. git-svn-id: svn://svn.alpinelinux.org/acf/devtools/trunk@1696 ab2d0c66-481e-0410-8bed-d214d4d58bed --- acfupdate-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'acfupdate-model.lua') diff --git a/acfupdate-model.lua b/acfupdate-model.lua index b90becc..c6b87a2 100644 --- a/acfupdate-model.lua +++ b/acfupdate-model.lua @@ -72,7 +72,7 @@ function update(repository, sessiondata) local dir = svndir(list) -- If we have the directory already, but not from archive, delete it if posix.stat(dir) and not posix.stat(dir..".svn") then - querycmd("rm -r "..dir) + fs.remove_directory(dir) if list == "core/" then -- We have to restart the web server because we've just deleted the mustrestart = true -- cgit v1.2.3