Changeset 3364ff5 in git


Ignore:
Timestamp:
2009-05-29T02:15:37Z (16 years ago)
Author:
Brian Warner <warner@…>
Branches:
master
Children:
8f39fe7
Parents:
3f257b1
Message:

setup.py: clean up the spurious a.out file created by the 'as -v' test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified setup.py

    r3f257b1 r3364ff5  
    127127    # Okay, nevermind. Maybe there isn't even an 'as' executable on this
    128128    # platform.
     129    pass
     130
     131try:
     132    # that "as -v" step creates an empty a.out, so clean it up. Modern GNU
     133    # "as" has --version, which emits the version number without actually
     134    # assembling anything, but older versions only have -v, which emits a
     135    # version number and *then* assembles from stdin.
     136    os.unlink("a.out")
     137except EnvironmentError:
    129138    pass
    130139
Note: See TracChangeset for help on using the changeset viewer.