From: Daan De Meyer Date: Wed, 19 Feb 2025 11:35:56 +0000 (+0100) Subject: config: Fix variable typo in parse_new_includes() X-Git-Tag: v26~368^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72fa80bdf366d99d5786fdba02d1ce35db4def79;p=thirdparty%2Fmkosi.git config: Fix variable typo in parse_new_includes() p might be Path("mkosi-tools") when a default config is included. path contains the actual path to the resolved default config. --- diff --git a/mkosi/config.py b/mkosi/config.py index c55c37fea..1d959e999 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -4368,7 +4368,7 @@ class ParseContext: ) with chdir(path if path.is_dir() else Path.cwd()): - self.parse_config_one(path if path.is_file() else Path.cwd(), parse_profiles=p.is_dir()) + self.parse_config_one(path if path.is_file() else Path.cwd(), parse_profiles=path.is_dir()) def finalize_value(self, setting: ConfigSetting[T]) -> Optional[T]: # If a value was specified on the CLI, it always takes priority. If the setting is a collection of