From 660474c8bd37035371c931329e6ece0f4986e536 Mon Sep 17 00:00:00 2001 From: anth64 Date: Sat, 14 Nov 2026 15:41:17 +0100 Subject: [PATCH] fix: drop dead release pre-build from build.sh/build.bat install already depends on release in gmake.mk/bmake.mk; the manual pre-build in the wrapper scripts was redundant and, combined with a clean target in the same invocation, didn't actually prevent clean from wiping the build before install ran. --- build.bat | 10 ---------- build.sh | 4 ---- 2 files changed, 14 deletions(-) diff --git a/build.bat b/build.bat index 5276318..32d7665 100644 --- a/build.bat +++ b/build.bat @@ -1,16 +1,6 @@ @echo off setlocal -set HAS_INSTALL=0 -for %%a in (%*) do ( - if "%%a"=="install" set HAS_INSTALL=1 -) - -if "%HAS_INSTALL%"=="1" ( - make -f gmake.mk release - if errorlevel 1 exit /b 1 -) - if "%1"=="run" ( if "%2"=="" ( make -f gmake.mk run MODE=debug diff --git a/build.sh b/build.sh index 55b35b7..3cb086d 100755 --- a/build.sh +++ b/build.sh @@ -34,10 +34,6 @@ for arg in "$@"; do done if [ "$HAS_INSTALL" = "1" ] || [ "$HAS_UNINSTALL" = "1" ]; then - if [ "$HAS_INSTALL" = "1" ]; then - make -f "$MK_FILE" release GL_MAJOR=$GL_MAJOR GL_MINOR=$GL_MINOR - fi - if [ "$IS_WIN" = "1" ] || [ "$(id -u)" = "0" ]; then PRIV="" elif command -v doas > /dev/null 2>&1; then