File tree 1 file changed +1
-6
lines changed
src/main/java/org/codehaus/plexus/archiver
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ public void addFileSet( @Nonnull final FileSet fileSet )
335
335
// The PlexusIoFileResourceCollection contains platform-specific File.separatorChar which
336
336
// is an interesting cause of grief, see PLXCOMP-192
337
337
final PlexusIoFileResourceCollection collection = new PlexusIoFileResourceCollection ();
338
- collection .setFollowingSymLinks ( ! isSymlinkSupported () );
338
+ collection .setFollowingSymLinks ( false );
339
339
340
340
collection .setIncludes ( fileSet .getIncludes () );
341
341
collection .setExcludes ( fileSet .getExcludes () );
@@ -360,11 +360,6 @@ public void addFileSet( @Nonnull final FileSet fileSet )
360
360
addResources ( collection );
361
361
}
362
362
363
- private boolean isSymlinkSupported ()
364
- {
365
- return Os .isFamily ( Os .FAMILY_UNIX );
366
- }
367
-
368
363
@ Override
369
364
public void addFile ( @ Nonnull final File inputFile , @ Nonnull final String destFileName )
370
365
throws ArchiverException
You can’t perform that action at this time.
0 commit comments