Browse Source

Mac: Use hdiutil attach instead of open during signing

Daniel Molkentin 12 years ago
parent
commit
d1451a3c90
1 changed files with 1 additions and 2 deletions
  1. 1 2
      admin/osx/sign_dmg.sh

+ 1 - 2
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