From 782c23f7c163b16e5446f972150968b3ebd30171 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 19 Oct 2012 23:39:51 -0400 Subject: jh-checksource: sort the unsafe files when printing them --- jh-checksource.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jh-checksource.sh b/jh-checksource.sh index b198c4d..2f7969d 100644 --- a/jh-checksource.sh +++ b/jh-checksource.sh @@ -62,7 +62,7 @@ main() { if [[ -n "$(cat "$unsafe_files")" ]]; then echo "==> WARNING: The source directory `pwd` contains binary files:" - sed 's/./ -> &/' "$unsafe_files" + <"$unsafe_files" sort | sed 's/./ -> &/' rm -f "$unsafe_files" exit 1 else -- cgit v1.2.3-54-g00ecf