{"action":"closed","issue":{"url":"https://api.github.com/repos/premake/premake-core/issues/918","repository_url":"https://api.github.com/repos/premake/premake-core","labels_url":"https://api.github.com/repos/premake/premake-core/issues/918/labels{/name}","comments_url":"https://api.github.com/repos/premake/premake-core/issues/918/comments","events_url":"https://api.github.com/repos/premake/premake-core/issues/918/events","html_url":"https://github.com/premake/premake-core/issues/918","id":264741814,"number":918,"title":"os.copyfile() fails on premake-5.0.0-alpha12 on Windows","user":{"login":"pjohalloran","id":2094081,"avatar_url":"https://avatars2.githubusercontent.com/u/2094081?v=4","gravatar_id":"","url":"https://api.github.com/users/pjohalloran","html_url":"https://github.com/pjohalloran","followers_url":"https://api.github.com/users/pjohalloran/followers","following_url":"https://api.github.com/users/pjohalloran/following{/other_user}","gists_url":"https://api.github.com/users/pjohalloran/gists{/gist_id}","starred_url":"https://api.github.com/users/pjohalloran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjohalloran/subscriptions","organizations_url":"https://api.github.com/users/pjohalloran/orgs","repos_url":"https://api.github.com/users/pjohalloran/repos","events_url":"https://api.github.com/users/pjohalloran/events{/privacy}","received_events_url":"https://api.github.com/users/pjohalloran/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-11T21:27:46Z","updated_at":"2017-10-12T10:18:35Z","closed_at":"2017-10-12T10:18:35Z","author_association":"NONE","body":"Hi,\r\n\r\nI wrote a premake5 script for the OSX platform first which works as expected.\r\n\r\nWhen i run the same script on Windows 10 on premake5 version 5.0.0-alpha12, i get an error when using `os.copyfile()`.\r\n\r\nThe error is: `unable to copy file to $path`.\r\n\r\nI checked and the target directory exists and is a directory. The file I am trying to copy also exists. I checked by manually inspecting my filesystem and also using `os.isdir()` and `os.isfile()` in my build script before i attempt the copy operation.\r\n\r\nAny ideas? \r\n\r\n"}}
{"actor":{"display_login":"starkos"}}