From ec3cecfe09ad7614f95ac43fade4290885beb441 Mon Sep 17 00:00:00 2001 From: R1cardoX <39510364+R1cardoX@users.noreply.github.com> Date: Thu, 26 Jun 2025 16:40:40 +0800 Subject: [PATCH] fix: correct misuse of parentheses in shutil.copy example --- reference/conanfile/attributes/sources.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/conanfile/attributes/sources.inc b/reference/conanfile/attributes/sources.inc index 8f978735ea3f..34846fdd0cea 100644 --- a/reference/conanfile/attributes/sources.inc +++ b/reference/conanfile/attributes/sources.inc @@ -83,7 +83,7 @@ or even better, from ``self.export_sources_folder``. save(self, "CMakeLists.txt", "MISTAKE: Very old CMakeLists to be replaced") # Now I fix it with one of the exported files shutil.copy("../CMakeLists.txt", ".") - shutil.copy(os.path.join(self.export_sources_folder, "CMakeLists.txt", ".")) + shutil.copy(os.path.join(self.export_sources_folder, "CMakeLists.txt"), ".") .. seealso::