diff --git a/conan/tools/files/patches.py b/conan/tools/files/patches.py index 5955e8d4cb2..e8227183c59 100644 --- a/conan/tools/files/patches.py +++ b/conan/tools/files/patches.py @@ -156,7 +156,7 @@ def _handle_patches(patches, patches_folder): _handle_patches(conanfile_patches, conanfile.recipe_folder) - # NOTE: This only works after drim_conandata, it assumes versions are gone now in the cache + # NOTE: This only works after trim_conandata, it assumes versions are gone now in the cache extra_path = conanfile.conf.get("core.sources.patch:extra_path") if extra_path: if not os.path.isdir(extra_path):