Skip to content

Commit a056a5f

Browse files
authored
Merge pull request #10844 from per1234/fix-build-system
Fix built-in examples update during build
2 parents 7a9234c + 5bf14b8 commit a056a5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/build.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@
242242
<antcall target="unzip">
243243
<param name="archive_file" value="${BUILT-IN-EXAMPLES-REPOSITORY-NAME}-${BUILT-IN-EXAMPLES-VERSION}.zip" />
244244
<param name="archive_url" value="https://github.com/${BUILT-IN-EXAMPLES-REPOSITORY-OWNER}/${BUILT-IN-EXAMPLES-REPOSITORY-NAME}/archive/${BUILT-IN-EXAMPLES-VERSION}.zip" />
245-
<param name="final_folder" value="${BUILT-IN-EXAMPLES-FINAL-PATH}" />
245+
<!-- Because the presence of this folder determines whether the extraction happens, this must point to a version-dependent path, otherwise updates will fail -->
246+
<param name="final_folder" value="${BUILT-IN-EXAMPLES-STAGING-PATH}/${BUILT-IN-EXAMPLES-REPOSITORY-NAME}-${BUILT-IN-EXAMPLES-VERSION}/examples" />
246247
<param name="dest_folder" value="${BUILT-IN-EXAMPLES-STAGING-PATH}" />
247248
</antcall>
248249

0 commit comments

Comments
 (0)