summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhack/analyses/go-archive-analysis.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/hack/analyses/go-archive-analysis.sh b/hack/analyses/go-archive-analysis.sh
index 8f3a110d6..f10145dad 100755
--- a/hack/analyses/go-archive-analysis.sh
+++ b/hack/analyses/go-archive-analysis.sh
@@ -6,10 +6,7 @@ then
exit 1
fi
-DATA=$(grep --no-filename packagefile $WORK/**/importcfg \
+grep --no-filename packagefile $WORK/**/importcfg \
| awk '{ split($2, data, "="); printf "%s ", data[1]; system("du -sh " data[2]) }' \
| awk '{ printf "%s %s\n", $2, $1 }' \
- | sort -ruh \
- )
-
-echo "$DATA"
+ | sort -u | sort -rh