mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
ArchiveExtractor: allowing symlinks with absolute paths, still printing a warning
This commit is contained in:
parent
3fb3774627
commit
a19cdf1492
@ -186,9 +186,8 @@ public class ArchiveExtractor {
|
||||
// Symbolic links are referenced with relative paths
|
||||
outputLinkedFile = new File(linkName);
|
||||
if (outputLinkedFile.isAbsolute()) {
|
||||
System.err.println(I18n.format(_("Warning: file {0} links to an absolute path {1}, changing it to {2}"), outputFile, outputLinkedFile, new File(outputLinkedFile.getName())));
|
||||
System.err.println(I18n.format(_("Warning: file {0} links to an absolute path {1}"), outputFile, outputLinkedFile));
|
||||
System.err.println();
|
||||
outputLinkedFile = new File(outputLinkedFile.getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user