Skip to content

Commit

Permalink
html.sh: Add full path for paste command
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgarga committed Jan 23, 2025
1 parent 50f2187 commit 7b1e8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/share/poudriere/include/html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ build_jail_json() {
echo "${log_path_jail:?}"/*/.data.mini.json | \
xargs /usr/bin/awk -f "${AWKPREFIX:?}/json_jail.awk" |
/usr/bin/sed -e '/^$/d' | \
paste -s -d , -
/usr/bin/paste -s -d , -
echo "}}"
} | write_atomic_cmp "${log_path_jail:?}/.data.json" || ret="$?"
critical_end
Expand Down Expand Up @@ -159,7 +159,7 @@ build_top_json() {
echo */latest/.data.mini.json | \
xargs /usr/bin/awk -f "${AWKPREFIX:?}/json_top.awk" 2>/dev/null | \
/usr/bin/sed -e '/^$/d' | \
paste -s -d , -
/usr/bin/paste -s -d , -
echo "}}"
) | write_atomic_cmp "${log_path_top:?}/.data.json" || ret="$?"
critical_end
Expand Down

0 comments on commit 7b1e8ac

Please sign in to comment.