Skip to content

Commit

Permalink
dump unix file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Aug 14, 2024
1 parent e837712 commit c76411d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions download-latest-java-tomcat.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
logger(" extracting [#arguments.src# ] into [#arguments.dest#]" );
extract( arguments.format, arguments.src, tmpDest );
if ( arguments.format != "zip" ){
applyPermissions(arguments.src, tmpDest);
}
var files = directoryList(tmpDest, true);
if ( directoryExists( arguments.dest ) )
Expand All @@ -58,6 +62,13 @@
directoryDelete( tmpDest, true );
}
function applyPermissions( src, dest ){
var files = directoryList( path="tgz://" & src, recurse=true, listinfo="query");
systemOutput( files, true );
throw "stop!";
}
function getTomcatVersion( required string version ){
var tomcat_metadata = "https://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-core/maven-metadata.xml"
Expand Down

0 comments on commit c76411d

Please sign in to comment.