mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
Merge branch 'bug-2225-fix' into 'master'
Address ntpath bug with empty prefix See merge request ita1024/waf!2215
This commit is contained in:
commit
2af495bcad
@ -1062,7 +1062,7 @@ class inst(Task.Task):
|
||||
if isinstance(self.install_to, Node.Node):
|
||||
dest = self.install_to.abspath()
|
||||
else:
|
||||
dest = Utils.subst_vars(self.install_to, self.env)
|
||||
dest = os.path.normpath(Utils.subst_vars(self.install_to, self.env))
|
||||
if not os.path.isabs(dest):
|
||||
dest = os.path.join(self.env.PREFIX, dest)
|
||||
if destdir and Options.options.destdir:
|
||||
|
Loading…
Reference in New Issue
Block a user