summaryrefslogtreecommitdiffstats
path: root/tools/checkdeps
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 06:24:25 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 06:24:25 +0000
commitf461684edc60022d13f970aad4f1c37a1abba499 (patch)
treec5fec45ebcec9eea24025da87fd56a8fe9618279 /tools/checkdeps
parentb707bff2add7c1e7a7ce75da3de8d72beb096f08 (diff)
downloadchromium_src-f461684edc60022d13f970aad4f1c37a1abba499.zip
chromium_src-f461684edc60022d13f970aad4f1c37a1abba499.tar.gz
chromium_src-f461684edc60022d13f970aad4f1c37a1abba499.tar.bz2
Fix bug with checkdeps on OS X and git.
Basically, checkdeps on OS X and git is a no-op without this fix, as OS X (almost always) has a case-insensitive file system and checkdeps does case-sensitive comparisons. BUG=none TEST=ran checkdeps before/after Review URL: http://codereview.chromium.org/3356015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59066 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/checkdeps')
-rwxr-xr-xtools/checkdeps/checkdeps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkdeps/checkdeps.py b/tools/checkdeps/checkdeps.py
index 7c4280f..6ee22b1 100755
--- a/tools/checkdeps/checkdeps.py
+++ b/tools/checkdeps/checkdeps.py
@@ -237,7 +237,7 @@ def ApplyDirectoryRules(existing_rules, dir_name):
# contained in git source direcotries. This will tell us if it's a source
# directory and should be checked.
if not (os.path.exists(os.path.join(dir_name, ".svn")) or
- (dir_name in GIT_SOURCE_DIRECTORY)):
+ (dir_name.lower() in GIT_SOURCE_DIRECTORY)):
return (None, [])
# Check the DEPS file in this directory.