Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 19, 2024
1 parent 3a8ef57 commit 70b42c7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions download-latest-java-tomcat.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@
tmpDir = getDirectoryFromPath(getCurrentTemplatePath()) & "tmp-installer/";
log = [];
srcVersion = listToArray( server.system.environment.lucee_version, "." );
srcVersion = server.system.environment.lucee_version;
version = listToArray( srcVersion,"." );
dump(version);
flush;
tomcat_version = "9.0";
java_version = 11;
if ( version[ 1 ] gt 6 ||
(version[ 1 ] gte 6 && version[ 2 ] gte 1 )){
java_version = 21;
java_version = 21; // 6.1 onwards
}
if ( version[ 1 ] gt 6 ||
(version[ 1 ] gte 6 && version[ 2 ] gte 2 )){
tomcat_version = "10.1";
tomcat_version = "10.1"; // 6.2 onwards
}
logger("Using Java version #java_version# for Lucee #srcVersion#");
Expand Down

0 comments on commit 70b42c7

Please sign in to comment.