X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.cpp;h=6a2de247c9ac6ba8d6365be128b81252090cc13e;hb=f5d23e3e6ad425075182982c1ef717cb0873bbdc;hp=2d2a7ca9c023c557954e05924d9181f4280dae97;hpb=e4c839cacd8572ade951f4961e8e145d20e0103f;p=builder.git diff --git a/source/copy.cpp b/source/copy.cpp index 2d2a7ca..6a2de24 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -65,6 +65,7 @@ void Copy::Worker::main() return; } +#ifndef _WIN32 // Preserve file permissions struct stat st; if(stat(src_path.str().c_str(), &st)==0) @@ -78,6 +79,7 @@ void Copy::Worker::main() FS::unlink(link); symlink(relpath.str().c_str(), link.str().c_str()); } +#endif status = Task::SUCCESS; }