diff options
author | scottmg@google.com <scottmg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 23:32:35 +0000 |
---|---|---|
committer | scottmg@google.com <scottmg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 23:32:35 +0000 |
commit | 3b834389daddc8f27260839064de3b899074faac (patch) | |
tree | 52a32b58ff22b423e7c6f40cd0a0466d030388bb /build/win | |
parent | de702116c8df5780abc940e563bdcced156c3953 (diff) | |
download | chromium_src-3b834389daddc8f27260839064de3b899074faac.zip chromium_src-3b834389daddc8f27260839064de3b899074faac.tar.gz chromium_src-3b834389daddc8f27260839064de3b899074faac.tar.bz2 |
Was previously testing wrong condition: 'win' in platform is true for "dar'win'" too.
BUG=111731
Review URL: https://chromiumcodereview.appspot.com/9159050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/win')
-rw-r--r-- | build/win/setup_cygwin_mount.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/win/setup_cygwin_mount.py b/build/win/setup_cygwin_mount.py index 5b0db35..d68a3af 100644 --- a/build/win/setup_cygwin_mount.py +++ b/build/win/setup_cygwin_mount.py @@ -8,9 +8,9 @@ import sys def main(): if len(sys.argv) != 2 or sys.argv[1] != '--win-only': return 1 - if 'win' in sys.platform: + if sys.platform in ('win32', 'cygwin'): self_dir = os.path.dirname(sys.argv[0]) - mount_path = os.path.join(self_dir, "..\\..\\third_party\\cygwin") + mount_path = os.path.join(self_dir, "../../third_party/cygwin") batch_path = os.path.join(mount_path, "setup_mount.bat") return os.system(os.path.normpath(batch_path) + ">nul") return 0 |