summaryrefslogtreecommitdiffhomepage
path: root/build/check-controllers.sh
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-10-10 20:25:11 +0300
committerGitHub <noreply@github.com>2018-10-10 20:25:11 +0300
commit67fd6b6e5ea6b843a4427bed62a31e96f3ff0a1f (patch)
tree09689cc4f3b1194012f0e0830a49692cdd6fd1d8 /build/check-controllers.sh
parenta9948891a8d0262e88e43472c13fdb0d3ba9c72b (diff)
parent401382a459743db941738a645822b443ecfdc596 (diff)
Merge pull request #2197 from yangfl/master
treewide: Fix typos in comments
Diffstat (limited to 'build/check-controllers.sh')
-rwxr-xr-xbuild/check-controllers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/check-controllers.sh b/build/check-controllers.sh
index 573e6f8642..47f66eac94 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