From 9c1e717d20f133e1a04c975605ff6eddea2a23cb Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 5 Nov 2008 19:25:57 +0000 Subject: [PATCH] making it more fool proof. See http://www.nabble.com/plugin-cvstag-tp20312067p20312067.html git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13010 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/scm/CVSSCM.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/scm/CVSSCM.java b/core/src/main/java/hudson/scm/CVSSCM.java index e9d061a02b..6ea136b81c 100644 --- a/core/src/main/java/hudson/scm/CVSSCM.java +++ b/core/src/main/java/hudson/scm/CVSSCM.java @@ -991,8 +991,8 @@ public class CVSSCM extends SCM implements Serializable { } public String getCvsExeOrDefault() { - if(cvsExe==null) return "cvs"; - else return cvsExe; + if(Util.fixEmpty(cvsExe)==null) return "cvs"; + else return cvsExe; } public void setCvspassFile(String value) {