summaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
Diffstat (limited to 'build2')
-rwxr-xr-xbuild2/download24
1 files changed, 12 insertions, 12 deletions
diff --git a/build2/download b/build2/download
index be018a3..7cce00f 100755
--- a/build2/download
+++ b/build2/download
@@ -5,9 +5,9 @@
# Also combine the xsde-<version>-x86_64-linux*.tar.xz and
# xsde-<version>-x86_64-windows*.zip binary archives with the libxsde and
# xsde-{tests,examples} source archives and the dist directory of the xsde git
-# repository into the xsde-<version>-{x86_64-linux,rtsrc-unix}.tar.xz and
-# xsde-<version>-x86_64-windows.zip archives with the secondary build system,
-# respectively.
+# repository into the xsde-<version>-{x86_64-linux.tar.xz,rtsrc-unix.tar.gz}
+# and xsde-<version>-x86_64-windows.zip archives with the secondary build
+# system, respectively.
#
# Run from the root of the destination download directory. Note that the
# destination files are expected not to exist.
@@ -360,7 +360,7 @@ function create_arch ()
}
if true; then
-# If the xsde-<version>-rtsrc-unix.tar.xz archive is created (in the current
+# If the xsde-<version>-rtsrc-unix.tar.gz archive is created (in the current
# directory), then also create symlinks to it in all subdirectories where the
# binary xsde packages/archives are downloaded to or created in, except for
# the Windows archives.
@@ -436,10 +436,10 @@ for bk in "${!bins[@]}"; do
error "checksum mismatch for package $pkgf from $bk"
fi
- # Create the xsde-<version>-{x86_64-linux,rtsrc-unix}.tar.xz archives,
- # combining the contents of the xsde binary linux archive with the
- # contents of the libxsde, xsde-tests, and xsde-examples source archives
- # and the dist directory.
+ # Create the xsde-<version>-{x86_64-linux.tar.xz,rtsrc-unix.tar.gz}
+ # archives, combining the contents of the xsde binary linux archive with
+ # the contents of the libxsde, xsde-tests, and xsde-examples source
+ # archives and the dist directory.
#
if [ -n "$(sed -rn -e 's/^xsde-.+-x86_64-linux.+\.tar\.xz$/true/p' <<<"$pkg")" ]; then
dest_arch="$(sed -rn -e 's%^(.+/xsde-[^/]+-x86_64)-[^/]+$%\1-linux.tar.xz%p' <<<"$pkgf")"
@@ -451,10 +451,10 @@ for bk in "${!bins[@]}"; do
"" # windows
# Note that we don't include the architecture into the resulting archive
- # name since this is a source archive. Also note that we create it in
- # the current directory.
+ # name since this is a source archive (we also use tar.gz extension for
+ # this reason). Also note that we create it in the current directory.
#
- xsde_rtsrc_unix_arch="$(sed -rn -e 's%^.+/(xsde-[^/]+)-x86_64-[^/]+$%\1-rtsrc-unix.tar.xz%p' <<<"$pkgf")"
+ xsde_rtsrc_unix_arch="$(sed -rn -e 's%^.+/(xsde-[^/]+)-x86_64-[^/]+$%\1-rtsrc-unix.tar.gz%p' <<<"$pkgf")"
create_arch "$xsde_rtsrc_unix_arch" "$pkgf" \
"" \
@@ -484,7 +484,7 @@ for bk in "${!bins[@]}"; do
dirs["$bv"]=true
done
-# Create symlinks to xsde-<version>-rtsrc-unix.tar.xz, if present.
+# Create symlinks to xsde-<version>-rtsrc-unix.tar.gz, if present.
#
if [ -n "$xsde_rtsrc_unix_arch" ]; then
for bk in "${!bins[@]}"; do