diff options
-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 |