git-gui: Don't create PkgInfo on Mac OS X "desktop icons".
authorShawn O. Pearce <spearce@spearce.org>
Sun, 19 Nov 2006 04:17:41 +0000 (23:17 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 19 Nov 2006 04:17:41 +0000 (23:17 -0500)
Turns out that we really don't need the Contents/PkgInfo file on Mac OS
10.4. The Finder will still launch the application properly without one.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui
diff --git a/git-gui b/git-gui
index d1054f6632794dc35e80c993033062aa0da45f95..063d83c124deeab6823203a4c9cba64dc64eaa76 100755 (executable)
--- a/git-gui
+++ b/git-gui
@@ -2216,10 +2216,6 @@ proc do_macosx_app {} {
 
                                file mkdir $MacOS
 
-                               set fd [open [file join $Contents PkgInfo] w]
-                               puts -nonewline $fd {APPL????}
-                               close $fd
-
                                set fd [open [file join $Contents Info.plist] w]
                                puts $fd {<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">