mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 15:45:25 +02:00
Bug 480603 - Deal with extra file in Intel's tarballs for Arduino.
Change-Id: I575496e490959defe5fe978664bac87b7e53fede
This commit is contained in:
parent
e61edf0d66
commit
9e2f937a06
1 changed files with 6 additions and 0 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue