Merge "Remove validate-maintainer.sh script"

This commit is contained in:
Jenkins 2017-09-12 16:04:52 +00:00 committed by Gerrit Code Review
commit fb8dac3b0e

View File

@ -1,13 +0,0 @@
#!/bin/bash
MAINTAINER='MAINTAINER {{ maintainer }}'
RES=0
for dockerfile in "$@"; do
if ! grep -q "$MAINTAINER" "$dockerfile"; then
echo "ERROR: $dockerfile has incorrect MAINTAINER" >&2
RES=1
fi
done
exit $RES