diff options
| author | Zuul <zuul@review.openstack.org> | 2018-06-26 09:16:05 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2018-06-26 09:16:05 +0000 |
| commit | 80bfe5f31da577a012cb7bafe7ead4636875995c (patch) | |
| tree | 1f830a562edc0034983d9bdbc98941190d35cc81 /tools | |
| parent | d609c318bf374217c5d2e40a9e51dd565581333d (diff) | |
| parent | b7c0f053b0e0e4b48a2cd69fce0096d106a8d219 (diff) | |
| download | kolla-80bfe5f31da577a012cb7bafe7ead4636875995c.tar.gz kolla-80bfe5f31da577a012cb7bafe7ead4636875995c.zip | |
Merge "validate-indentation was failing locally for me"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/validate-indentation.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/validate-indentation.sh b/tools/validate-indentation.sh index de2f20c6f..f651e152b 100755 --- a/tools/validate-indentation.sh +++ b/tools/validate-indentation.sh @@ -3,8 +3,9 @@ RES=0 for dockerfile in "$@"; do - if grep -qE '^\s+[A-Z]+\s' "$dockerfile"; then + if grep -qE '^\s+[[:upper:]]+\s+' "$dockerfile"; then echo "ERROR: $dockerfile has indented Dockerfile instruction" >&2 + grep -E '^\s+[[:upper:]]+\s+' "$dockerfile" RES=1 fi done |
