From 922282227ff8e300c0159e9f75c318d3991ac14d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 04 Jan 2021 18:31:29 -0500 Subject: cmd/build: Also filter session ID in log --- (limited to 'src/cmd') diff --git a/src/cmd/build.sh b/src/cmd/build.sh index 6d72046..81e7343 100644 --- a/src/cmd/build.sh +++ b/src/cmd/build.sh @@ -129,7 +129,8 @@ _cmd_build_build() Distribution: ${dist} Build-Date: ${build_date} - Filter: Replacing "$(session_dir)" with "<>" + Filter: Replacing "$(session_dir)" with "<>" + Filter: Replacing "$(session_id)" with "<>" EOF es=0 @@ -295,8 +296,10 @@ cmd_build_main() "${host_arch}" "${host_plat}" \ "${dist}" "${@}" 2>&1 printf '%d' ${?} 1>&3 - } | sed "/^Filter: /!s|$(session_dir)|<>|" \ - | tee "${log}" 1>&2 + } | sed "/^Filter: /!{ + s|$(session_dir)|<>|; + s|$(session_id)|<>|; + };" | tee "${log}" 1>&2 } 3>&1 | { read es exit ${es} -- cgit v0.9.1