Welcome to mirror list, hosted at ThFree Co, Russian Federation.

numpy.diff « patches « build_environment « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c4c572228389418a91411bfbfbca2bf5860ebd57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -Naur numpy-1.11.1/numpy/distutils/ccompiler.py numpy-1.11.1/numpy/distutils/ccompiler.py
--- numpy-1.11.1/numpy/distutils/ccompiler.py	2016-06-25 08:38:34 -0600
+++ numpy-1.11.1/numpy/distutils/ccompiler.py	2016-08-04 12:33:43 -0600
@@ -29,6 +29,7 @@
 
 # Using customized CCompiler.spawn.
 def CCompiler_spawn(self, cmd, display=None):
+    cmd = quote_args(cmd)
     """
     Execute a command in a sub-process.
 
diff -Naur numpy-1.11.1/numpy/distutils/misc_util.py numpy-1.11.1/numpy/distutils/misc_util.py
--- numpy-1.11.1/numpy/distutils/misc_util.py	2016-06-25 08:38:34 -0600
+++ numpy-1.11.1/numpy/distutils/misc_util.py	2016-08-04 12:34:56 -0600
@@ -116,7 +116,7 @@
     args = list(args)
     for i in range(len(args)):
         a = args[i]
-        if ' ' in a and a[0] not in '"\'':
+        if ' ' in a and a[0] not in '"\'' and a[len(a)-1] not in '"\'':
             args[i] = '"%s"' % (a)
     return args