[vlc-commits] apple script can fail if user is logged in through GUI

Rafaël Carré git at videolan.org
Wed Dec 28 18:25:40 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Dec 28 12:25:04 2011 -0500| [cca013e7565ceb8337e904c6bafe38499d1f3915] | committer: Rafaël Carré

apple script can fail if user is logged in through GUI

Just ignore the error if it happens, the dmg will still work

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cca013e7565ceb8337e904c6bafe38499d1f3915
---

 extras/package/macosx/package.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index e0a641a..9c2c3cb 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -72,7 +72,7 @@ package-macosx: VLC-release.app
 	hdiutil create -verbose -srcfolder "$(top_builddir)/vlc-$(VERSION)" "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -scrub -format UDRW
 	mkdir -p ./mount
 	hdiutil attach -readwrite -noverify -noautoopen -mountRoot ./mount "vlc-$(VERSION)-rw.dmg"
-	osascript "$(srcdir)"/extras/package/macosx/dmg_setup.scpt "vlc-$(VERSION)"
+	-osascript "$(srcdir)"/extras/package/macosx/dmg_setup.scpt "vlc-$(VERSION)"
 	hdiutil detach ./mount/"vlc-$(VERSION)"
 # Make sure the image is not writable
 # Note: We can't directly create a read only dmg as we do the bless stuff



More information about the vlc-commits mailing list