From 18d02bf780a11898c3615db668aa019b0b075904 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 6 Nov 2023 22:18:12 +0200 Subject: [PATCH 22/22] cleanup_checkout.sh: Remove x-prefixing See osdn #48951 Signed-off-by: Marko Lindqvist --- platforms/windows/installer_msys2/cleanup_checkout.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/windows/installer_msys2/cleanup_checkout.sh b/platforms/windows/installer_msys2/cleanup_checkout.sh index dd0fd0836f..e398440057 100755 --- a/platforms/windows/installer_msys2/cleanup_checkout.sh +++ b/platforms/windows/installer_msys2/cleanup_checkout.sh @@ -1,5 +1,5 @@ #!/bin/sh -if test "x$VERSION_REVTYPE" = "xgit" ; then - git checkout $1/translations +if test "${VERSION_REVTYPE}" = "git" ; then + git checkout "$1/translations" fi -- 2.42.0