]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/mac/_buildPython
Added start at accessibility sample
[wxWidgets.git] / wxPython / distrib / mac / _buildPython
index 16bc2c66417d30d246c81e465d33796ff8970cbe..57774d1bb64b4ec92603476642d2298ddb4d1f6f 100755 (executable)
@@ -13,7 +13,7 @@ progDir="`dirname \"$0\"`"
 defDstPath="/projects/wx/wxPython/dist"
 
 pkgName="MachoPython"
-version=2.2.1-2
+version=2.2.1-4
 dmgRoot="dmg-root"
 pkgRoot="pkg-root"
 sitePkgDir="$pkgRoot/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER/site-packages"
@@ -106,7 +106,7 @@ done
 
 cat > pythonw <<EOF
 #!/bin/sh
-exec /Applicaitons/Python.app/Contents/MacOS/python $@
+exec /Applications/Python.app/Contents/MacOS/python \$@
 EOF
 chmod +x pythonw
 cd $curDir
@@ -126,6 +126,15 @@ for f in Numeric numarray; do
 done
 cd $curDir
 
+#-----------------------------------
+msg Adjusting ownership and permission
+
+for d in Applications Library; do
+    msgdo chown -R root:admin "$dstPath/$temp/$pkgRoot/$d"
+    msgdo chmod -R g+w "$dstPath/$temp/$pkgRoot/$d"
+done
+msgdo chown -R root:wheel "$dstPath/$temp/$pkgRoot/usr"
+
 #-----------------------------------
 msg making installer package
 msgdo cp -pR "$progDir/resourcesPython" "$dstPath/$temp/"