summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/build-extras.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-extras.sh b/scripts/build-extras.sh
index 17e443890..2efb0ba36 100644
--- a/scripts/build-extras.sh
+++ b/scripts/build-extras.sh
@@ -152,7 +152,7 @@ build_package() {
make package
find . -type d -iname '_CPack_Packages' -print0 | xargs -0 rm -rf -- || true
- rm *Unspecified* || true
+ find . -iname '*Unspecified*' -print0 | xargs -0 rm -rf -- || true
popd