mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
Fix trap error case
At this point TMPDMG already has .dmg added to it and the original mktemp file was removed above.
This commit is contained in:
parent
617697a823
commit
d2a5fa2d9f
1 changed files with 1 additions and 1 deletions
|
|
@ -992,7 +992,7 @@ mkdir -p "$MNTPATH"
|
|||
|
||||
TMPDMG="${TMPDMG}.dmg"
|
||||
|
||||
trap "rm -rf $MNTPATH $TMPDMG ${TMPDMG}.dmg $ICNSTMP" EXIT
|
||||
trap "rm -rf $MNTPATH $TMPDMG $ICNSTMP" EXIT
|
||||
|
||||
hdiutil create -megabytes $DMGMEGABYTES -fs HFS+ -volname "${VOLNAME}" "$TMPDMG"
|
||||
DiskDevice=$(hdid -nomount "$TMPDMG" | grep Apple_HFS | cut -f 1 -d ' ')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue