Skip to content

Commit d2cc134

Browse files
committed
[RELEASE_ENGINEERING]
Get all optional files from a dedicated "optional" folder on svn.reactos.org and check that the mandatory files exist. This should ensure that we never ship without a CJK font again. Thanks to Katayama Hirofumi MZ for reporting! svn path=/trunk/Release_Engineering/; revision=2339
1 parent 5995c2a commit d2cc134

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Release_ISOs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ svn co "https://svn.reactos.org/reactos/branches/${branch_name}/reactos" "${WORK
3131
svn co "https://svn.reactos.org/reactos/branches/${branch_name}/rosapps" "${WORKDIR}/modules/rosapps" || exit 1
3232
svn co "https://svn.reactos.org/reactos/branches/${branch_name}/wallpapers" "${WORKDIR}/modules/wallpapers" || exit 1
3333

34-
# Create an "optional" folder and fill it with all files we may distribute.
35-
# Currently, this is only the wine_gecko package. Just download all wine_gecko packages and the reactos.dff.in will pick the right one.
34+
# Download the "optional" folder from svn.reactos.org
3635
mkdir "${WORKDIR}/modules/optional" || exit 1
3736
cd "${WORKDIR}/modules/optional" || exit 1
38-
wget --recursive --level=1 --no-directories --no-parent --execute robots=off "https://svn.reactos.org/amine" -A "wine_gecko*.msi" || exit 1
37+
wget --recursive --level=1 --no-directories --no-parent --execute robots=off "https://svn.reactos.org/optional" || exit 1
38+
39+
# Check that all mandatory files exist in the "optional" folder.
40+
test -f "DroidSansFallback.ttf" || (echo "DroidSansFallback CJK font missing!" && exit 1)
41+
test -f "wine_gecko*.msi" || (echo "wine_gecko MSI package missing!" && exit 1)
3942

4043
# Build ReactOS
4144
cd "${WORKDIR}" || exit 1

0 commit comments

Comments
 (0)