Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authoryangfl <yangfl@users.noreply.github.com>2018-08-18 07:21:21 +0300
committeryangfl <yangfl@users.noreply.github.com>2018-10-10 10:00:07 +0300
commit401382a459743db941738a645822b443ecfdc596 (patch)
tree5d2a1197f1d6f647091523011b9900eaf2f535b0 /build
parent24d1e7608b23cd80eca41a78916a2a0f2bd224c2 (diff)
treewide: Fix typos in comments
Signed-off-by: David Yang <mmyangfl@gmail.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/check-controllers.sh2
-rwxr-xr-xbuild/i18n-scan.pl2
-rw-r--r--build/luadoc/luadoc/config.lua2
3 files changed, 3 insertions, 3 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
diff --git a/build/i18n-scan.pl b/build/i18n-scan.pl
index 899d90d22c..3f9ee89630 100755
--- a/build/i18n-scan.pl
+++ b/build/i18n-scan.pl
@@ -4,7 +4,7 @@ use strict;
use warnings;
use Text::Balanced qw(extract_bracketed extract_delimited extract_tagged);
-@ARGV >= 1 || die "Usage: $0 <source direcory>\n";
+@ARGV >= 1 || die "Usage: $0 <source directory>\n";
my %stringtable;
diff --git a/build/luadoc/luadoc/config.lua b/build/luadoc/luadoc/config.lua
index 9e4b9de3c5..319e1cb03e 100644
--- a/build/luadoc/luadoc/config.lua
+++ b/build/luadoc/luadoc/config.lua
@@ -1,6 +1,6 @@
-------------------------------------------------------------------------------
-- LuaDoc configuration file. This file contains the default options for
--- luadoc operation. These options can be overriden by the command line tool
+-- luadoc operation. These options can be overridden by the command line tool
-- @see luadoc.print_help
-- @release $Id: config.lua,v 1.6 2007/04/18 14:28:39 tomas Exp $
-------------------------------------------------------------------------------