From d5b92c29255693849ef0b1a043b85395c7549722 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Tue, 6 Jul 2021 23:46:04 +0200 Subject: [PATCH] More robustness for Windows build script --- scripts/deploy-win-mingw.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/deploy-win-mingw.sh b/scripts/deploy-win-mingw.sh index 5aea66429..26bdb6d55 100644 --- a/scripts/deploy-win-mingw.sh +++ b/scripts/deploy-win-mingw.sh @@ -141,7 +141,9 @@ echo "Installing plugins .." for p in $plugins; do cp -R $mingw_inst/share/qt5/plugins/$p $target # remove the debug versions - otherwise they pull in the debug Qt libs - rm $target/$p/*d.dll + shopt -s nullglob + rm -f $target/$p/*d.dll $target/$p/*.dll.debug + shopt -u nullglob done # ----------------------------------------------------------