diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-01-26 21:54:28 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-01-26 21:54:28 +0000 |
commit | 2632dd4e5b25c6fbaa3feeeb044c69a1080003f4 (patch) | |
tree | cb7167a2a45e07dff943ba4d6417a061af3a5d22 | |
parent | 85934f2fb513c0bac435fb50cafb7c6fa89c286f (diff) | |
download | acf-devtools-2632dd4e5b25c6fbaa3feeeb044c69a1080003f4.tar.bz2 acf-devtools-2632dd4e5b25c6fbaa3feeeb044c69a1080003f4.tar.xz |
More work to remove unnecessary popen calls.
git-svn-id: svn://svn.alpinelinux.org/acf/devtools/trunk@1696 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | acfupdate-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |