aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/darwin_app/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile
index adbee402..ef506ffe 100644
--- a/packages/darwin_app/Makefile
+++ b/packages/darwin_app/Makefile
@@ -279,10 +279,10 @@ darwin_app_clean:
test_package:
echo "Mounting $(DMG_NAME)"
- cd $(CWD) && hdiutil mount "$(DMG_NAME)"
+ cd $(CWD) && hdiutil mount "$(DMG_NAME).dmg"
# some better tests should go in here
echo "Ejecting $(DMG_NAME)"
- cd $(CWD) && hdiutil eject "$(DMG_NAME)"
+ cd $(CWD) && hdiutil eject `mount | grep "$(DMG_NAME)" | cut -d ' ' -f 1`