From 64e61e9b5de7546dc3bcbca577a029629774e108 Mon Sep 17 00:00:00 2001 From: dacctal Date: Sun, 28 Jun 2026 05:56:56 +0000 Subject: fixed --quiet without a matching quiet target edgecase --- src/lua_state.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lua_state.c') diff --git a/src/lua_state.c b/src/lua_state.c index a91cd62..10820f4 100644 --- a/src/lua_state.c +++ b/src/lua_state.c @@ -174,6 +174,8 @@ bool target_loop_build( print_warning, lua_file, target ); lua_pop(L, 1); + if (strcmp(target, "quiet") == 0) + target_loop_build(L, lua_file, "default"); return false; } lua_getfield(L, -1, "dependencies"); @@ -222,6 +224,8 @@ bool target_loop_install( print_warning, lua_file, target ); lua_pop(L, 1); + if (strcmp(target, "quiet") == 0) + target_loop_install(L, lua_file, "default"); return false; } lua_getfield(L, -1, "pre_install"); @@ -300,6 +304,8 @@ bool target_loop_uninstall(lua_State *L, const char *lua_file, const char *targe print_warning, lua_file, target ); lua_pop(L, 1); + if (strcmp(target, "quiet") == 0) + target_loop_uninstall(L, lua_file, "default"); return false; } lua_getfield(L, -1, "uninstall"); -- cgit v1.2.3