Fix createSymlink so it overwrites existing link properly if the existing
link points to a non-existent file/dir (in this case File.exists() returns false, so it was not removed before creating new symlink). This change also avoids exec of "rm -rf" when simple File.delete() succeeds. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23972 71c3de6d-444a-0410-be80-ed276b4c234a
Showing
想要评论请 注册 或 登录