From 327efff58e5c5327dbdbfdf9f8e1625a4bc007de Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 6 Feb 2025 14:23:48 +0200 Subject: Change extension of xsde--rtsrc-unix.tar.xz archive to 'gz' --- build2/download | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'build2/download') 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--x86_64-linux*.tar.xz and # xsde--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--{x86_64-linux,rtsrc-unix}.tar.xz and -# xsde--x86_64-windows.zip archives with the secondary build system, -# respectively. +# repository into the xsde--{x86_64-linux.tar.xz,rtsrc-unix.tar.gz} +# and xsde--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--rtsrc-unix.tar.xz archive is created (in the current +# If the xsde--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--{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--{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--rtsrc-unix.tar.xz, if present. +# Create symlinks to xsde--rtsrc-unix.tar.gz, if present. # if [ -n "$xsde_rtsrc_unix_arch" ]; then for bk in "${!bins[@]}"; do -- cgit v1.1