From 93e227ebf2d7db79ff7f8d9d6946dc2214356a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20Negru=C8=9Biu?= Date: Sat, 31 Aug 2024 21:48:32 +0300 Subject: [PATCH] Build using full `nsis_build.py` path --- nsis_build_local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsis_build_local.py b/nsis_build_local.py index cd8db17beb..1d92c3f837 100644 --- a/nsis_build_local.py +++ b/nsis_build_local.py @@ -41,7 +41,7 @@ def copy_sources(srcdir, dstdir, verbose=False): def build_thread(nsisdir, distrodir, compiler, arch, build_number=0, nsislog=True, nsismaxstrlen=4096, tests=True, new_console=True): copy_sources(nsisdir, distrodir) - args = [sys.executable, 'nsis_build.py', f'-a={arch}', f'-c={compiler}', f'-b={build_number}', f'-l={nsislog}', f'-s={nsismaxstrlen}', f'-t={tests}'] + args = [sys.executable, path.join(nsisdir, distrodir, 'nsis_build.py'), f'-a={arch}', f'-c={compiler}', f'-b={build_number}', f'-l={nsislog}', f'-s={nsismaxstrlen}', f'-t={tests}'] exitcode = Popen(args, cwd=distrodir, creationflags=(subprocess.CREATE_NEW_CONSOLE if new_console else 0)).wait() print(f"-- {args} returned {exitcode}") if exitcode != 0: