Fix __file__ for scripts
authorNathan Binkert <binkertn@umich.edu>
Wed, 12 Jul 2006 19:18:49 +0000 (15:18 -0400)
committerNathan Binkert <binkertn@umich.edu>
Wed, 12 Jul 2006 19:18:49 +0000 (15:18 -0400)
commit3218538740a6132273875f84ce0cb95a2c79a62d
tree4f27473ac9e6722b7bb52d228c3c1e0fece9e550
parent7078d8d1b42c1a158c854b3e07800f20aa695bfb
Fix __file__ for scripts

src/python/m5/main.py:
    set __file__ to the script, not the m5 binary.

--HG--
extra : convert_revision : a0bbd059d2fd321ae8ff68225abc8a7bb5c410ed
src/python/m5/main.py