[Numpy-svn] r4170 - branches/numpy.scons/numpy/distutils/scons

numpy-svn at scipy.org numpy-svn at scipy.org
Wed Oct 10 05:51:43 EDT 2007


Author: cdavid
Date: 2007-10-10 04:51:24 -0500 (Wed, 10 Oct 2007)
New Revision: 4170

Modified:
   branches/numpy.scons/numpy/distutils/scons/numpyenv.py
Log:
Fix == to = in numpyenv for suncc overwriting

Modified: branches/numpy.scons/numpy/distutils/scons/numpyenv.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/numpyenv.py	2007-10-10 07:20:31 UTC (rev 4169)
+++ branches/numpy.scons/numpy/distutils/scons/numpyenv.py	2007-10-10 09:51:24 UTC (rev 4170)
@@ -90,8 +90,7 @@
                     t(env) 
                 else:
                     if is_cc_suncc(pjoin(env['cc_opt_path'], env['cc_opt'])):
-                        print "++ overwriting cc to suncc ++"
-                        env['cc_opt'] == 'suncc'
+                        env['cc_opt'] = 'suncc'
                     # XXX: what is the right way to add one directory in the
                     # PATH ? (may not work on windows).
                     t = Tool(env['cc_opt'])




More information about the Numpy-svn mailing list