Skip to content

Commit 167ab17

Browse files
committed
fix #349
1 parent 6765e20 commit 167ab17

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

commandLine/src/projects/baseProject.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ void baseProject::recursiveTemplateCopy(const fs::path & srcDir, const fs::path
534534
}
535535
else if (f.filename() != "template.config") {
536536
if (!fs::exists(destFile)) {
537-
fs::copy_file(f, destFile); // from, to
537+
ofFile::copyFromTo(f, destFile, false, true); // from, to
538538
}
539539
}
540540
}
@@ -548,7 +548,7 @@ void baseProject::recursiveCopyContents(const fs::path & srcDir, const fs::path
548548
recursiveCopyContents(f, destFile);
549549
} else {
550550
if (!fs::exists(destFile)) {
551-
fs::copy_file(f, destFile);
551+
ofFile::copyFromTo(f, destFile, false, true);
552552
}
553553
}
554554
}

0 commit comments

Comments
 (0)