Commit 7d4cc4ac authored by brettw@chromium.org's avatar brettw@chromium.org

Actually call the NormlizeFilePath function for download platform detection.

This should make Cygwin work to match "win32".

Review URL: https://codereview.chromium.org/108743002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@239244 0039d316-1c4b-4281-b951-d872f2087c98
parent 25a33d30
......@@ -333,7 +333,7 @@ def main(args):
# Make sure we should run at all based on platform matching.
if options.platform:
if not re.match(options.platform, sys.platform):
if not re.match(options.platform, GetNormalizedPlatform()):
if options.verbose:
print('The current platform doesn\'t match "%s", skipping.' %
options.platform)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment