Sign in
apache
/
fluo-muchos
/
HEAD
/
.
/
scripts
/
checkMissingEOF
blob: 05e546f0b5392b6c0beac16a6e0d8270b162838a [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
if
grep
--
quiet
--
files
-
with
-
matches
--
binary
-
files
=
without
-
match
--
max
-
count
=
1
--
regexp
=
'.*'
"$1"
;
then
if
[
"$(tail -c 1 "
$1
")"
];
then
echo
"ERROR: No new line at end of $1."
;
false
;
fi
fi