6666d1e973
Change-Id: I6ee985e694142aa7dadeb085b77910667ac6359f
15 lines
264 B
Bash
Executable File
15 lines
264 B
Bash
Executable File
#!/bin/sh
|
|
|
|
MAINTANER='MAINTAINER Kolla Project (https://launchpad.net/kolla)'
|
|
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
|
|
|