2c34214388
TrivialFix Change-Id: I1f03d428c380dfdbde5ef33e7ea43cbf5e9154ce
14 lines
239 B
Bash
Executable File
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
|