From: Nathan Binkert Date: Sat, 14 Jun 2008 17:30:18 +0000 (-0700) Subject: scons: proper fix for hg version stuff X-Git-Tag: m5_2.0_beta6~122 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d037682ff800fa44e715250b07d708bbf4bde91;p=gem5.git scons: proper fix for hg version stuff --- diff --git a/src/python/generate.py b/src/python/generate.py index c32204bc9..e6c36ecd2 100644 --- a/src/python/generate.py +++ b/src/python/generate.py @@ -535,7 +535,7 @@ extern const Flags *compoundFlags[]; pi_stats.close() target = str(target[0]) - scons_dir = str(source[0]) + scons_dir = str(source[0].get_contents()) try: import mercurial.demandimport, mercurial.hg, mercurial.ui import mercurial.util, mercurial.node