mirror of
https://github.com/coredns/coredns.git
synced 2025-11-21 19:32:21 -05:00
The exit code wasn't properly acted upon in the makefile. Make filename-hyphen actually return an non-zero exit code. Signed-off-by: Miek Gieben <miek@miek.nl>
11 lines
232 B
Bash
Executable File
11 lines
232 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "** presubmit/$(basename $0)"
|
|
|
|
for dir in "$@"; do
|
|
if find $dir | grep '-'; then
|
|
echo "** presubmit/$(basename $0): please use an underscore in filenames instead of a hyphen"
|
|
exit 1
|
|
fi
|
|
done
|