From 5194a27fd4ba3d467f28110c55e0afc448bf02ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Th=E1=BA=BF=20H=C6=B0ng?= Date: Thu, 12 Mar 2026 22:10:20 +0700 Subject: [PATCH] chore: abc --- apps/nginx/module-installer.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/nginx/module-installer.py b/apps/nginx/module-installer.py index 5198f5c..ee3b892 100644 --- a/apps/nginx/module-installer.py +++ b/apps/nginx/module-installer.py @@ -87,9 +87,8 @@ def main(): subprocess.call(["./configure", "--with-compat", *args], cwd=source_dir) subprocess.call(["make", "modules"], cwd=source_dir) # Copy .so files to module path - for module in config["modules"]: - module_name = module["name"] - so_file = f"{module_name}.so" + for module in module_source_dirs: + so_file = f"{module}.so" source_so_path = f"{source_dir}/objs/{so_file}" dest_so_path = f"{module_path}/{so_file}" print(f"Copying {source_so_path} to {dest_so_path}...")