From d1451a3c90c6255212f2a865e43a6a015618f62e Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Wed, 28 Aug 2013 12:45:44 +0200 Subject: [PATCH] Mac: Use hdiutil attach instead of open during signing --- admin/osx/sign_dmg.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/osx/sign_dmg.sh b/admin/osx/sign_dmg.sh index 0438ba632..3f2de3bf5 100755 --- a/admin/osx/sign_dmg.sh +++ b/admin/osx/sign_dmg.sh @@ -10,8 +10,7 @@ mount="/Volumes/$(basename $src_dmg|cut -d"-" -f1)" test -e $tmp_dmg && rm -rf $tmp_dmg hdiutil convert $src_dmg -format UDRW -o $tmp_dmg -open $tmp_dmg -sleep 12s +hdiutil attach $tmp_dmg pushd $mount codesign -s "$identity" $mount/*.app popd