diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-19 23:39:51 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-19 23:39:51 -0400 |
commit | 782c23f7c163b16e5446f972150968b3ebd30171 (patch) | |
tree | e8368895129d431a57a1c06f2b568aad428ccbc8 | |
parent | 5e853163eaf8569b751ab8ee907b7ed6f3f02543 (diff) |
jh-checksource: sort the unsafe files when printing them
-rw-r--r-- | jh-checksource.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |