Mac: Use hdiutil attach instead of open during signing

This commit is contained in:
Daniel Molkentin 2013-08-28 12:45:44 +02:00
parent 0bef47b2f3
commit d1451a3c90

View file

@ -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