Skip to content

Commit

Permalink
checkpatch: remove local from codespell path
Browse files Browse the repository at this point in the history
local is typically used for manually installed apps.
For apps installed from distro the right path is /usr/share.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Maxim Uvarov authored and Linus Torvalds committed Jun 26, 2015
1 parent 34d8815 commit f1a6367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
my $min_conf_desc_length = 4;
my $spelling_file = "$D/spelling.txt";
my $codespell = 0;
my $codespellfile = "/usr/local/share/codespell/dictionary.txt";
my $codespellfile = "/usr/share/codespell/dictionary.txt";
my $color = 1;

sub help {
Expand Down Expand Up @@ -95,7 +95,7 @@ sub help {
--ignore-perl-version override checking of perl version. expect
runtime errors.
--codespell Use the codespell dictionary for spelling/typos
(default:/usr/local/share/codespell/dictionary.txt)
(default:/usr/share/codespell/dictionary.txt)
--codespellfile Use this codespell dictionary
--color Use colors when output is STDOUT (default: on)
-h, --help, --version display this help and exit
Expand Down

0 comments on commit f1a6367

Please sign in to comment.