if(builder.get_verbose()>=2)
IO::print("%s -> %s\n", s, d);
if(!builder.get_dry_run())
if(builder.get_verbose()>=2)
IO::print("%s -> %s\n", s, d);
if(!builder.get_dry_run())
- struct stat st=FS::stat(copy.src);
- chmod(copy.dest.str().c_str(), st.st_mode&0777);
+ struct stat st;
+ if(stat(copy.src.str().c_str(), &st)==0)
+ chmod(copy.dest.str().c_str(), st.st_mode&0777);