Normalize the path pathed in through EXTRAS so it won't break with a trailing slash.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 10 Sep 2007 19:48:06 +0000 (12:48 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 10 Sep 2007 19:48:06 +0000 (12:48 -0700)
--HG--
extra : convert_revision : c14e2c6d97b5bcb491b91eeb4e7dc04d1cc35475

src/SConscript

index 1cd1a1627a28652748ff84771f8ab6023a3c827f..a4bd5526974e0568c9b1bd28c62c4ffb376bcee6 100644 (file)
@@ -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: