Re: [Mesa-dev] [PATCH v2 01/24] mesa: correctly use os.path.join in our python scripts

2018-12-14 Thread Erik Faye-Lund
Reviewed-by: Erik Faye-Lund On Fri, 2018-12-14 at 14:04 +, Emil Velikov wrote: > From: Emil Velikov > > With Windows in mind, using forward slash isn't the right thing to > do. > Even if it just works, we might want to fix it. > > As here, use __file__ instead of argv[0] and sys.path.inser

[Mesa-dev] [PATCH v2 01/24] mesa: correctly use os.path.join in our python scripts

2018-12-14 Thread Emil Velikov
From: Emil Velikov With Windows in mind, using forward slash isn't the right thing to do. Even if it just works, we might want to fix it. As here, use __file__ instead of argv[0] and sys.path.insert over sys.path.append. With the path tweak being reportedly faster. Cc: Dylan Baker Suggested-by