From ea759247d6bc10ca7653e6c3de7723bfa5382bcc Mon Sep 17 00:00:00 2001 From: Dennis Ushakov Date: Tue, 30 May 2017 18:08:54 +0300 Subject: [PATCH] remove -f to make sure that build fails --- platform/build-scripts/tools/mac/scripts/makedmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/build-scripts/tools/mac/scripts/makedmg.sh b/platform/build-scripts/tools/mac/scripts/makedmg.sh index cd8b12d57f24..ae3b2aad4b14 100644 --- a/platform/build-scripts/tools/mac/scripts/makedmg.sh +++ b/platform/build-scripts/tools/mac/scripts/makedmg.sh @@ -46,7 +46,7 @@ find /Volumes/"$VOLNAME" -maxdepth 1 # set properties echo "Updating $VOLNAME disk image styles..." stat /Volumes/"$VOLNAME"/DSStorePlaceHolder || true -rm -f /Volumes/"$VOLNAME"/DSStorePlaceHolder +rm /Volumes/"$VOLNAME"/DSStorePlaceHolder perl makedmg.pl "$VOLNAME" ${BG_PIC} sync;sync;sync hdiutil detach ${device}