From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753235AbbFDJWg (ORCPT ); Thu, 4 Jun 2015 05:22:36 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:37795 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752103AbbFDJWP (ORCPT ); Thu, 4 Jun 2015 05:22:15 -0400 From: Maxim Uvarov To: linux-kernel@vger.kernel.org Cc: apw@canonical.com, joe@perches.com, Maxim Uvarov Subject: [PATCH] checkpatch: remove local from codespell path Date: Thu, 4 Jun 2015 12:22:01 +0300 Message-Id: <1433409721-11276-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org local is typically used for manually installed apps, for apps installed from distro right patch is /usr/share Signed-off-by: Maxim Uvarov --- scripts/checkpatch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 89b1df4..a1cbc6d 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -48,7 +48,7 @@ my $minimum_perl_version = 5.10.0; 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"; sub help { my ($exitcode) = @_; @@ -91,7 +91,7 @@ Options: --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 -h, --help, --version display this help and exit -- 1.9.1