Fix porting error
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 30 Dec 2008 21:47:58 +0000 (21:47 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 30 Dec 2008 21:47:58 +0000 (21:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730250 13f79535-47bb-0310-9956-ffa450edef68

bin/setclasspath.bat

index 694476d..71cc5ce 100755 (executable)
@@ -62,7 +62,7 @@ goto exit
 :okBasedir
 
 rem Don't override the endorsed dir if the user has set it previously
-if not "%JAVA_ENDORSED_DIRS" == "" goto gotEndorseddir
+if not "%JAVA_ENDORSED_DIRS%" == "" goto gotEndorseddir
 rem Set the default -Djava.endorsed.dirs argument
 set JAVA_ENDORSED_DIRS=%BASEDIR%\endorsed
 :gotEndorseddir