提交 c133badc 编写于 作者: K Kohsuke Kawaguchi

display name is for UI, and can change based on the current users' locale. Better to use ID.

上级 3c9afd48
......@@ -113,7 +113,7 @@ public abstract class ToolInstaller implements Describable<ToolInstaller>, Exten
}
String home = Util.fixEmptyAndTrim(tool.getHome());
if (home == null) {
home = sanitize(tool.getDescriptor().getDisplayName()) + File.separatorChar + sanitize(tool.getName());
home = sanitize(tool.getDescriptor().getId()) + File.separatorChar + sanitize(tool.getName());
}
FilePath root = node.getRootPath();
if (root == null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册