From 9e2f937a06d0bd85e43e2473dfc3acb2acccd73f Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Sun, 25 Oct 2015 23:37:03 -0400 Subject: [PATCH] Bug 480603 - Deal with extra file in Intel's tarballs for Arduino. Change-Id: I575496e490959defe5fe978664bac87b7e53fede --- .../org/eclipse/cdt/arduino/core/internal/board/ArduinoManager.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoManager.java b/toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoManager.java index bba428f..e0cab06 100644 --- a/toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoManager.java +++ b/toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoManager.java @@ -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 File[] children = installPath.toFile().listFiles(); if (children.length == 1 && children[0].isDirectory()) { -- 2.7.4