From 08a73b93715cb1b33d2755ac5986a2708c5fb87a Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 21 Aug 2017 16:26:13 +0200 Subject: [PATCH] macOS: prevent DMG creation if requested --- tools/macos/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/macos/build.sh b/tools/macos/build.sh index 320dbf10b..a65769e06 100755 --- a/tools/macos/build.sh +++ b/tools/macos/build.sh @@ -417,6 +417,8 @@ EOF codesign --force --sign ${SIGNATURE_IDENTITY} ${dmgmac}/mkv*(.) fi + if [[ -n $DMG_NO_DMG ]] return + volumename=MKVToolNix-${MTX_VER} if [[ $DMG_PRE == 1 ]]; then local build_number_file=$HOME/net/home/prog/video/mingw/src/uc/build-number