summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-09-10 12:48:06 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-09-10 12:48:06 -0700
commit8f724a8b9679927503175a4a338ee77e285a0c5e (patch)
treef77baaca3e70bbe29ff9237de693585812dd6cf4
parent22a57562cde0faad336d022e0e3229f86dd897af (diff)
downloadgem5-8f724a8b9679927503175a4a338ee77e285a0c5e.tar.xz
Normalize the path pathed in through EXTRAS so it won't break with a trailing slash.
--HG-- extra : convert_revision : c14e2c6d97b5bcb491b91eeb4e7dc04d1cc35475
-rw-r--r--src/SConscript1
1 files changed, 1 insertions, 0 deletions
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: