MacOSX : correct the name of dmg file used by the rm command

This commit is contained in:
Mounir IDRASSI 2014-08-09 08:12:24 +02:00
parent f94707e4ef
commit f143182cbc

View File

@ -153,7 +153,7 @@ endif
echo -n APPLTRUE >$(APPNAME).app/Contents/PkgInfo
sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.xml >$(APPNAME).app/Contents/Info.plist
codesign -s "Developer ID Application: Mounir IDRASSI" $(APPNAME).app
rm -f $(APPNAME).dmg
rm -f $(APPNAME)_$(TC_VERSION).dmg
hdiutil create -srcfolder $(APPNAME).app -volname "VeraCrypt $(TC_VERSION) for Mac OS X $(VC_OSX_TARGET) and later" $(APPNAME)_$(TC_VERSION).dmg
endif