From a04b9dd0c7c74fabd8c393d2dc68a221276d6e29 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 22 Jan 2025 16:55:09 +0200 Subject: [PATCH] windows/build.bash: Fix error message Fixes: 1ee716f74085223c8fbcae1d5a384e6bf53c0f6a --- windows/build.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/build.bash b/windows/build.bash index 9bcc28b4..e27e9ec9 100644 --- a/windows/build.bash +++ b/windows/build.bash @@ -228,8 +228,8 @@ do [ -x "$SEVENZ" ] && break done +VER=$(sh build-aux/version.sh) if [ -x "$SEVENZ" ]; then - VER=$(sh build-aux/version.sh) cd pkg "$SEVENZ" a -tzip ../xz-$VER-windows.zip * "$SEVENZ" a ../xz-$VER-windows.7z *