summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-10-31 18:25:01 -0400
committerTimothy Flynn <trflynn89@pm.me>2022-10-31 18:25:01 -0400
commit2d7ad6dbe6675213ca2586ffc396548a023786b6 (patch)
tree1a499059081386076e60b600c835ba420f321a44 /Base
parent83e62e8c4f1d13278d88ba191947a93f88519630 (diff)
downloadserenity-2d7ad6dbe6675213ca2586ffc396548a023786b6.zip
CI: Remove the manpage generator error file upon success
On some systems, just specifying "2> error_file" will create the file, even if nothing is logged to it.
Diffstat (limited to 'Base')
-rwxr-xr-xBase/root/generate_manpages.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Base/root/generate_manpages.sh b/Base/root/generate_manpages.sh
index 4c3eb69559..ebbdc8c8de 100755
--- a/Base/root/generate_manpages.sh
+++ b/Base/root/generate_manpages.sh
@@ -53,6 +53,7 @@ for i in ( \
echo -e "\n<!-- Auto-generated through ArgsParser -->" >> "$filename" 2> "$ERROR_FILE" || exit_for_error
}
+rm -f "$ERROR_FILE"
echo "Successful."
if test $DO_SHUTDOWN_AFTER_GENERATE {