From: Gabe Black Date: Mon, 10 Sep 2007 19:48:06 +0000 (-0700) Subject: Normalize the path pathed in through EXTRAS so it won't break with a trailing slash. X-Git-Tag: m5_2.0_beta4~112 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f724a8b9679927503175a4a338ee77e285a0c5e;p=gem5.git Normalize the path pathed in through EXTRAS so it won't break with a trailing slash. --HG-- extra : convert_revision : c14e2c6d97b5bcb491b91eeb4e7dc04d1cc35475 --- diff --git a/src/SConscript b/src/SConscript index 1cd1a1627..a4bd55269 100644 --- a/src/SConscript +++ b/src/SConscript @@ -165,6 +165,7 @@ for root, dirs, files in os.walk(srcdir, topdown=True): for extra in env['EXTRAS'].split(':'): extra = os.path.expanduser(extra) + extra = os.path.normpath(extra) env.Append(CPPPATH=[Dir(extra)]) for root, dirs, files in os.walk(extra, topdown=True): if 'SConscript' in files: