Changeset 809

Show
Ignore:
Timestamp:
01/16/10 15:21:53 (8 months ago)
Author:
sience
Message:

assert outcommented. does not work

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lugre/lua/lib.util.lua

    r808 r809  
    7979function CopyDir (src,dst,bIncludeSpecial) 
    8080        --~ print("CopyDir",src,dst) 
    81         assert(file_exists(dst)) 
     81--      assert(file_exists(dst)) --why an assert for the dir here? dir is created before copying. this does not work 
    8282        for k,name in ipairs(dirlist(src,false,true)) do CopyFile(src..name,dst..name) end 
    8383        for k,name in ipairs(dirlist(src,true,false)) do if (name ~= "." and name ~= ".." and (name ~= ".svn" or bIncludeSpecial)) then mkdir(dst..name) CopyDir(src..name.."/",dst..name.."/") end end