From 4820f3807cd48e9783df2bcb7678a418bbc76b25 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Fri, 21 Apr 2017 11:47:28 +0200 Subject: [PATCH] Added cleanup to prevent sending .DS_Store and Thumbs.db files into zip and installers. --- build-release.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-release.sh b/build-release.sh index 9a4f0a76f..75a8c795d 100644 --- a/build-release.sh +++ b/build-release.sh @@ -155,6 +155,10 @@ done rm -rf "${UPDATE_SOURCE}/"*.mdb; rm -rf "${UPDATE_SOURCE}/"*.pdb; +# Remove all .DS_Store and Thumbs.db files +find . -type f -name ".DS_Store" | xargs rm -rf +find . -type f -name "Thumbs.db" | xargs rm -rf + # Sign all files with Authenticode if [ -f "${AUTHENTICODE_PFXFILE}" ] && [ -f "${AUTHENTICODE_PASSWORD}" ]; then echo "Performing authenticode signing of executables and libraries"