1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-21 10:52:14 +01:00
per1234 5bf14b8b7b Fix built-in examples update during build
Previously, the built-in examples assembly step of the build system set the
`final_folder` parameter of the `unzip` target to the true final
installation location of the examples.

The behavior of the `unzip` target is to only unzip the archive if
`final_folder` doesn't exist. Because that folder will exist any time a
previous build has been done and `ant clean` was not run, the archive will
not be unzipped. This causes the build to fail after an update to the
built-in examples version when it attempts to copy the examples from the
version-dependent extraction staging folder to the final location.

The fix is to set the `final_folder` parameter to the version-dependent
staging folder location, which will cause the extraction to happen every
time the examples version is updated, but to be skipped when there was no
update.
2020-10-08 21:57:16 -07:00
..
2018-08-22 17:26:23 +02:00
2018-08-22 17:26:23 +02:00
2018-08-22 17:26:23 +02:00
2015-08-10 09:07:55 +02:00
2018-08-22 17:26:23 +02:00
2017-03-21 12:15:02 +01:00
2018-08-22 17:26:23 +02:00
2018-08-22 17:26:23 +02:00