Skip to content

Commit

Permalink
refactor logic
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Aug 13, 2024
1 parent 53779e8 commit 05e3536
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/updateserver/services/legacy/S3.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,8 @@ component {
//if (!directoryExists(webDir)) directoryCreate(webDir);

// unpack the servers
local.minorVersion=mid(server.lucee.version,1,find(".",server.lucee.version,find(".",minorVersion)+1)-1);
local.srcTomcat = curr & "build/servers/tomcat-"
& (local.minorVersion >= '6.2' ? 'jakarta':'javax' ) & ".zip";
local.useJakarta=checkVersionGTE( arguments.version, '6.2' );
local.srcTomcat = curr & "build/servers/tomcat-" & ( useJakarta ? 'jakarta':'javax' ) & ".zip";
zip action="unzip" file=srcTomcat destination=tmpTom;

// let's zip it
Expand Down

0 comments on commit 05e3536

Please sign in to comment.