aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/report.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-10-02 20:07:51 -0300
committerEuAndreh <eu@euandre.org>2021-10-02 20:07:51 -0300
commit9534c0578fb0836d0cb0a522b5cb520b619a81b4 (patch)
tree49c365a9ec1eb3f5791c3f1156f80920205e4d12 /aux/ci/report.sh
parentTODOs.md: Mark #question-e7faf3ec-a40e-f35c-7380-6965942d957f as DONE (diff)
downloadgit-permalink-9534c0578fb0836d0cb0a522b5cb520b619a81b4.tar.gz
git-permalink-9534c0578fb0836d0cb0a522b5cb520b619a81b4.tar.xz
aux/ci/report.sh: Use { cmd1; cmd2; } > OUT pattern (ShellCheck offense)
Diffstat (limited to 'aux/ci/report.sh')
-rwxr-xr-xaux/ci/report.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/aux/ci/report.sh b/aux/ci/report.sh
index a812d86..e900e26 100755
--- a/aux/ci/report.sh
+++ b/aux/ci/report.sh
@@ -45,7 +45,8 @@ for c in $(git notes list | cut -d\ -f2); do
> "$OUTDIR/ci-logs/$FILENAME"
done
-cat <<EOF >> "$OUT"
+{
+ cat <<EOF
<!DOCTYPE html>
<html lang="en">
<head>
@@ -57,9 +58,9 @@ cat <<EOF >> "$OUT"
EOF
-cat aux/workflow/style.css >> "$OUT"
+ cat aux/workflow/style.css
-cat <<EOF >> "$OUT"
+ cat <<EOF
<style>
pre {
@@ -78,6 +79,7 @@ cat <<EOF >> "$OUT"
</h1>
<ol>
EOF
+} > "$OUT"
for f in $(find "$OUTDIR/ci-data/" -type f | LANG=C.UTF-8 sort -r); do
DATA="$(cat "$f")"