From 69912426e5b1d87f1845ac79712af20fc474b71c Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 18 Dec 2018 16:19:02 -0800 Subject: [PATCH] Fix prepend to environ path We need to call this after loading the configuration file, otherwise anything set there won't work. --- mkosi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkosi b/mkosi index da31a308c..281747088 100755 --- a/mkosi +++ b/mkosi @@ -4434,6 +4434,8 @@ def prepend_to_environ_path(paths: List[str]) -> None: def run_verb(args): load_args(args) + prepend_to_environ_path(args.extra_search_paths) + if args.verb in ("build", "clean", "shell", "boot", "qemu"): check_root() unlink_output(args) @@ -4466,8 +4468,6 @@ def main() -> None: if args.directory is not None: os.chdir(args.directory) - prepend_to_environ_path(args.extra_search_paths) - if args.all: for f in os.scandir(args.all_directory): -- 2.47.2