76c1fe6371
Unify the shell to bash in all Kolla scripts. Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a Implements: blueprint use-bash-shell
15 lines
267 B
Bash
Executable File
15 lines
267 B
Bash
Executable File
#!/bin/bash
|
|
|
|
MAINTAINER='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
|
|
|