From 96f9a797a165c89200232d4fe851900b337fcded Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Tue, 22 Jul 2025 06:24:51 +0300
Subject: [PATCH 48/48] installer_cross: Rename create-freeciv-sdl2-nsi.sh as
 create-freeciv-sdl-nsi.sh

See RM #1628

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 platforms/windows/Makefile.am                                   | 2 +-
 .../{create-freeciv-sdl2-nsi.sh => create-freeciv-sdl-nsi.sh}   | 2 +-
 platforms/windows/installer_cross/meson-installer_build.sh      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename platforms/windows/installer_cross/{create-freeciv-sdl2-nsi.sh => create-freeciv-sdl-nsi.sh} (99%)

diff --git a/platforms/windows/Makefile.am b/platforms/windows/Makefile.am
index ff97c3dab2..2fd280beee 100644
--- a/platforms/windows/Makefile.am
+++ b/platforms/windows/Makefile.am
@@ -29,7 +29,7 @@ dist_noinst_DATA = \
 		installer_msys2/Freeciv.url			\
 		installer_msys2/Makefile.meson			\
 		installer_cross/create-freeciv-gtk-qt-nsi.sh	\
-		installer_cross/create-freeciv-sdl2-nsi.sh	\
+		installer_cross/create-freeciv-sdl-nsi.sh	\
 		installer_cross/create-freeciv-ruledit-nsi.sh	\
 		installer_cross/Freeciv.url			\
 		installer_cross/freeciv-server.cmd		\
diff --git a/platforms/windows/installer_cross/create-freeciv-sdl2-nsi.sh b/platforms/windows/installer_cross/create-freeciv-sdl-nsi.sh
similarity index 99%
rename from platforms/windows/installer_cross/create-freeciv-sdl2-nsi.sh
rename to platforms/windows/installer_cross/create-freeciv-sdl-nsi.sh
index ae85a610be..69a1d6a44a 100755
--- a/platforms/windows/installer_cross/create-freeciv-sdl2-nsi.sh
+++ b/platforms/windows/installer_cross/create-freeciv-sdl-nsi.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# ./create-freeciv-sdl2-nsi.sh <freeciv files dir> <output dir> <version> <win64|win> [uninstall setup script]
+# ./create-freeciv-sdl-nsi.sh <freeciv files dir> <output dir> <version> <win64|win> [uninstall setup script]
 
 if test "$5" != "" && ! test -x "$5" ; then
   echo "$5 not an executable script" >&2
diff --git a/platforms/windows/installer_cross/meson-installer_build.sh b/platforms/windows/installer_cross/meson-installer_build.sh
index 8e425a6242..b1c982cd76 100755
--- a/platforms/windows/installer_cross/meson-installer_build.sh
+++ b/platforms/windows/installer_cross/meson-installer_build.sh
@@ -310,7 +310,7 @@ else
   NSI_FILE="${NSI_DIR}/client-${SETUP}-${VERREV}-${GUI}.nsi"
 
   if test "${GUI}" = "sdl2" ; then
-    if ! ./create-freeciv-sdl2-nsi.sh \
+    if ! ./create-freeciv-sdl-nsi.sh \
            "${INSTDIR}" "meson/output" "${VERREV}" "${SETUP}" "${UNINSTALLER}" \
              > "${NSI_FILE}"
     then
-- 
2.47.2

