Skip to content

Commit 2198632

Browse files
committed
print status tsv on bionic
1 parent 2b681e1 commit 2198632

File tree

1 file changed

+5
-1
lines changed
  • features/src/utils/opt/devcontainer/bin/sccache/dist

1 file changed

+5
-1
lines changed

features/src/utils/opt/devcontainer/bin/sccache/dist/status.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ EOF
7878
# Passthrough if the format is csv or json
7979
# Otherwise, transform the csv into a tsv.
8080
if test "$f" = tsv; then
81-
cat - | sed 's/\"//g' | column -t -s, -R $(seq -s, 1 13)
81+
if [[ "$(grep DISTRIB_RELEASE= /etc/lsb-release | cut -d= -f2)" > "18.04" ]]; then
82+
cat - | sed 's/\"//g' | column -t -s, -R $(seq -s, 1 13)
83+
else
84+
cat - | sed 's/\"//g' | column -t -s,
85+
fi
8286
else
8387
cat -
8488
fi

0 commit comments

Comments
 (0)