1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 23:55:26 +02:00

Bug 480603 - Deal with extra file in Intel's tarballs for Arduino.

Change-Id: I575496e490959defe5fe978664bac87b7e53fede
This commit is contained in:
Doug Schaefer 2015-10-25 23:37:03 -04:00
parent e61edf0d66
commit 9e2f937a06

View file

@ -352,6 +352,12 @@ public class ArduinoManager {
} }
} }
// Special hack for Intel - remove the pax_global_header file
File paxFile = new File(installPath.toFile(), "pax_global_header"); //$NON-NLS-1$
if (paxFile.exists()) {
paxFile.delete();
}
// Fix up directory // Fix up directory
File[] children = installPath.toFile().listFiles(); File[] children = installPath.toFile().listFiles();
if (children.length == 1 && children[0].isDirectory()) { if (children.length == 1 && children[0].isDirectory()) {