1. William Deegan
  2. SCons


dirkbaechle  committed 48333a5

- fix for #2928 (misspelled variable in intelc.py)

  • Participants
  • Parent commits 0bf0729
  • Branches default

Comments (0)

Files changed (2)

File src/CHANGES.txt

View file
  • Ignore whitespace
       SCons from a source (non-installed) dir.
     - Count statistics of instances are now collected only when
       the --debug=count command-line option is used (#2922).
+    - Fixed misspelled variable in intelc.py (#2928).
   From Gary Oberbrunner:
     - Test harness: fail_test() can now print a message to help debugging.

File src/engine/SCons/Tool/intelc.py

View file
  • Ignore whitespace
                 for d in glob.glob('/opt/intel/composerxe-*'):
                     # Typical dir here is /opt/intel/composerxe-2011.4.184
                     m = re.search(r'([0-9][0-9.]*)$', d)
-                    if m and m.group(1) == verison and \
+                    if m and m.group(1) == version and \
                         (os.path.exists(os.path.join(d, "bin", "ia32", "icc")) or
                         os.path.exists(os.path.join(d, "bin", "intel64", "icc"))):
                             top = d