diff options
author | yangfl <yangfl@users.noreply.github.com> | 2018-08-18 12:21:21 +0800 |
---|---|---|
committer | yangfl <yangfl@users.noreply.github.com> | 2018-10-10 15:00:07 +0800 |
commit | 401382a459743db941738a645822b443ecfdc596 (patch) | |
tree | 5d2a1197f1d6f647091523011b9900eaf2f535b0 /build/check-controllers.sh | |
parent | 24d1e7608b23cd80eca41a78916a2a0f2bd224c2 (diff) |
treewide: Fix typos in comments
Signed-off-by: David Yang <mmyangfl@gmail.com>
Diffstat (limited to 'build/check-controllers.sh')
-rwxr-xr-x | build/check-controllers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/check-controllers.sh b/build/check-controllers.sh index 573e6f864..47f66eac9 100755 --- a/build/check-controllers.sh +++ b/build/check-controllers.sh @@ -14,7 +14,7 @@ find . -type f -name '*.lua' -path '*/controller/*' | while read controller; do package="${controller##*/controller/}"; package="${package%.lua}"; package="luci.controller.${package//\//.}" if ! grep -sqE '\bmodule[[:space:]]*\(?[[:space:]]*("|\047|\[=*\[)'"$package" "$controller"; then - echo "'$controller' does not containt the expected\n\t'module(\"$package\", ...)' line.\n" + echo "'$controller' does not contain the expected\n\t'module(\"$package\", ...)' line.\n" fi grep -sqE '\b(Form|SimpleForm)[[:space:]]*\(' "$model" && ! grep -sqE '\bMap[[:space:]]*\(' "$model" && is_form=1 || is_form=0 |