Re: [Mesa-dev] [PATCH] Fix mapi code generator for out-of-tree build

2013-01-15 Thread Kenneth Graunke
On 01/15/2013 02:41 AM, Jon TURNEY wrote: Use os.path.join() rather than hand-rolling it, so path is correct if sys.argv[0] returns an absolute path. (According to the python documentation, it's platform dependent whether sys.argv[0] is a full pathname or not. It probably also depends on how th

[Mesa-dev] [PATCH] Fix mapi code generator for out-of-tree build

2013-01-15 Thread Jon TURNEY
Use os.path.join() rather than hand-rolling it, so path is correct if sys.argv[0] returns an absolute path. (According to the python documentation, it's platform dependent whether sys.argv[0] is a full pathname or not. It probably also depends on how the process was started...) Signed-off-by: Jo