Skip to content

Commit

Permalink
Backport a couple of trivial fixes from 0.7.x (5397:5398).
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Jan 8, 2009
1 parent aa9a811 commit a409f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scipy/weave/build_tools.py
Expand Up @@ -355,7 +355,7 @@ def gcc_exists(name = 'gcc'):
# the path variable. and will occasionlly mess things up
# so much that gcc is lost in the path. (Occurs in test
# scripts)
result = not os.system(cmd)
result = not os.system(" ".join(cmd))
return result

def msvc_exists():
Expand All @@ -372,7 +372,7 @@ def msvc_exists():
except:
#assume we're ok if devstudio exists
import distutils.msvccompiler
version = distutils.msvccompiler.get_devstudio_version()
version = distutils.msvccompiler.get_build_version()
if version:
result = 1
return result
Expand Down

0 comments on commit a409f9f

Please sign in to comment.