kolla/tools/validate-maintainer.sh
Mauricio Lima 2c34214388 Remove unecessary blank lines
TrivialFix

Change-Id: I1f03d428c380dfdbde5ef33e7ea43cbf5e9154ce
2016-05-02 07:44:29 -04:00

14 lines
239 B
Bash
Executable File

#!/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