diff --git a/setup.sh b/setup.sh index e010735..e238e60 100755 --- a/setup.sh +++ b/setup.sh @@ -799,6 +799,7 @@ install_satdump_from_source_debian() { echo '#pragma GCC diagnostic ignored "-Wdeprecated"' echo '#pragma GCC diagnostic ignored "-Wdeprecated-declarations"' cat "$lua_utils" + echo # ensure the file ends with a newline before the closing pragma echo '#pragma GCC diagnostic pop' } > "${lua_utils}.patched" && mv "${lua_utils}.patched" "$lua_utils" fi