diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-06-28 05:56:56 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-06-28 05:56:56 +0000 |
| commit | 64e61e9b5de7546dc3bcbca577a029629774e108 (patch) | |
| tree | 846bf2bf5f1dbfdd00e6f841454d6ed748770671 /src/lua_state.c | |
| parent | 0cc8a1c0faa2743acc6bc38ee8a0c6e2af4f64b1 (diff) | |
fixed --quiet without a matching quiet target edgecase
Diffstat (limited to 'src/lua_state.c')
| -rw-r--r-- | src/lua_state.c | 6 |
1 files changed, 6 insertions, 0 deletions
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"); |
