aboutsummaryrefslogtreecommitdiff
path: root/src/lua_state.c
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-06-21 01:33:58 +0000
committerdacctal <dacctal@symlinx.net>2026-06-21 01:33:58 +0000
commit7cde9aeb5dccce578c1eed13cf1ed2c61e446800 (patch)
tree3323e34bbec0a87a4bb659a90816b28a6a241f5a /src/lua_state.c
parent6482da05e96630d622f7deea02e31cb0ff07c89e (diff)
huge code cleanup
Diffstat (limited to 'src/lua_state.c')
-rw-r--r--src/lua_state.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lua_state.c b/src/lua_state.c
index 623c87b..4d3c4b5 100644
--- a/src/lua_state.c
+++ b/src/lua_state.c
@@ -40,10 +40,8 @@ void init_lua_state() {
"%s cannot run configuration script: %s\n",
print_error, lua_tostring(L, -1)
);
- printf(
- "%s to generate a configration file, head into the root directory of the pkgit source and run `make defconfig`\n",
- print_pkgit
- );
+ printf("%s to generate a configration file, head into the", print_pkgit);
+ printf(" root directory of the pkgit source and run `make defconfig`\n");
exit(EXIT_FAILURE);
}
if (file_exists(repo_file)) {
@@ -130,7 +128,9 @@ void install_dependencies(lua_State *L) {
}
}
-bool target_loop_build(lua_State *L, const char* lua_file, const char *target) {
+bool target_loop_build(
+ lua_State *L, const char* lua_file, const char *target
+) {
lua_getfield(L, -1, target);
if (!lua_istable(L, -1)) {
if (is_verbose) printf(