mirror of https://gitlab.com/ita1024/waf.git
normpath() to make a 'a/b' variant dir display as 'a\b' on windows
This commit is contained in:
parent
3d64c32c2c
commit
2bbd4b62d5
|
@ -147,7 +147,7 @@ class BuildContext(Context.Context):
|
|||
"""Getter for the variant_dir attribute"""
|
||||
if not self.variant:
|
||||
return self.out_dir
|
||||
return os.path.join(self.out_dir, self.variant)
|
||||
return os.path.join(self.out_dir, os.path.normpath(self.variant))
|
||||
variant_dir = property(get_variant_dir, None)
|
||||
|
||||
def __call__(self, *k, **kw):
|
||||
|
|
Loading…
Reference in New Issue