More robustness for Windows build script

This commit is contained in:
Matthias Koefferlein 2021-07-06 23:46:04 +02:00
parent 9b18571d86
commit d5b92c2925
1 changed files with 3 additions and 1 deletions

View File

@ -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
# ----------------------------------------------------------