mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
ArchiveExtractor: allowing symlinks with absolute paths, still printing a warning
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user