From 2e7a83c04aa15f6061d2d3b2e9c097763428683f Mon Sep 17 00:00:00 2001
From: bones_was_here <bones_was_here@xa.org.au>
Date: Sun, 19 Jun 2022 22:06:06 +1000
Subject: [PATCH] Use correct filenames in -latest* checksum files

---
 misc/infrastructure/xonotic-release-build.cron | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/infrastructure/xonotic-release-build.cron b/misc/infrastructure/xonotic-release-build.cron
index f3c414a0..f3662df5 100755
--- a/misc/infrastructure/xonotic-release-build.cron
+++ b/misc/infrastructure/xonotic-release-build.cron
@@ -87,7 +87,7 @@ sha512sum Xonotic-$d*.zip > Xonotic-$d.sha512
 for X in Xonotic-$d*.zip; do
 	ln -snf "$X" "Xonotic-latest${X#Xonotic-$d}"
 done
-ln -snf Xonotic-$d.sha512 Xonotic-latest.sha512
+sha512sum Xonotic-latest*.zip > Xonotic-latest.sha512
 rsync -vaSHP Xonotic*.zip Xonotic*.sha512 autobuild-release-uploader@beta.xonotic.org:"$RELEASETYPEDIR"
 if [ -z "$RELEASETYPEDIR" ]; then
 	ssh autobuild-release-uploader@beta.xonotic.org sh ../../update-rsync.sh "$d"
-- 
2.39.5