Skip to content

Commit 8b0170a

Browse files
author
Simon Guest
committed
Copy cpp source with copy.mode = false
Fixes #1345
1 parent 6193de5 commit 8b0170a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3279,7 +3279,7 @@ namespace {
32793279

32803280
// copy the source file to the build dir
32813281
Rcpp::Function filecopy = Rcpp::Environment::base_env()["file.copy"];
3282-
filecopy(cppSourcePath_, generatedCppSourcePath(), true);
3282+
filecopy(cppSourcePath_, generatedCppSourcePath(), true, Rcpp::_["copy.mode"] = false);
32833283

32843284
// parse attributes
32853285
SourceFileAttributesParser sourceAttributes(cppSourcePath_, "", true);

0 commit comments

Comments
 (0)