Index: third_party/cython/cp_python_binary_modules.py |
diff --git a/third_party/cython/cp_python_binary_modules.py b/third_party/cython/cp_python_binary_modules.py |
index dd38e647131ebbc25f682d634f19cc6095e23c89..cd7505ba21fd582333e1779f1c3143f063b45946 100644 |
--- a/third_party/cython/cp_python_binary_modules.py |
+++ b/third_party/cython/cp_python_binary_modules.py |
@@ -29,7 +29,11 @@ def main(): |
opts = parser.parse_args() |
if not os.path.exists(opts.destination_dir): |
- os.makedirs(opts.destination_dir) |
+ try: |
+ os.makedirs(opts.destination_dir) |
+ except: |
+ # Ignore errors on directory creation. |
+ pass |
for mapping in opts.mappings: |
[module, library] = mapping.split('=') |