]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Improve logging message for workspace directory
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 10 Feb 2024 15:04:27 +0000 (16:04 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 10 Feb 2024 18:16:19 +0000 (19:16 +0100)
mkosi/__init__.py

index 094b1082d7d89874370b247c0bb083b345291c53..8c172739676fc61431d559909761257e329d0bbb 100644 (file)
@@ -3521,7 +3521,7 @@ def check_workspace_directory(config: Config) -> None:
     wd = config.workspace_dir_or_default()
 
     if wd.is_relative_to(Path.cwd()):
-        die(f"The workspace directory ({wd}) cannot be located in the current working directory ({Path.cwd()})",
+        die(f"The workspace directory ({wd}) must be located outside the current working directory ({Path.cwd()})",
             hint="Use WorkspaceDirectory= to configure a different workspace directory")
 
     for tree in config.build_sources: