Skip to content

Commit

Permalink
groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Nov 16, 2024
1 parent 820f14f commit 24d42b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/it/symlink-dont-follow/setup.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ for ( pair : pairs )
{
File target = new File( basedir, pair[0] );
File link = new File( basedir, pair[1] );
System.out.println( "Creating symlink " + link + " -> " + target );
println "Creating symlink " + link + " -> " + target;
Path targetPath = target.toPath();
Path linkPath = link.toPath();
Files.createSymbolicLink( (Path) targetPath, (Path) linkPath );
if ( !link.exists() )
{
System.out.println( "Platform does not support symlinks, skipping test." );
println "Platform does not support symlinks, skipping test.";
return;
}
}

0 comments on commit 24d42b3

Please sign in to comment.