Re: join_path misbehaviour on Windows
- Posted by axtens_bruce in March
- 547 views
So I'm working around it with
sequence userprofile = {} ifdef WINDOWS then userprofile = getenv("USERPROFILE") elsedef userprofile = getenv("HOME") end ifdef sequence root = join_path({userprofile,".task"}) ifdef WINDOWS then root = trim_head(root, "\\") end ifdef