summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 11:22:29 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 11:22:29 (GMT)
commitf172f31e4f1ad74e31215138e56327af118603ef (patch)
treed3c7e97d16a40c04639b4bb172e4a673c3e48762 /Mac/BuildScript
parentbb43a05807bec4132b89c2dba2a26e8ea02bce7b (diff)
downloadcpython-f172f31e4f1ad74e31215138e56327af118603ef.zip
cpython-f172f31e4f1ad74e31215138e56327af118603ef.tar.gz
cpython-f172f31e4f1ad74e31215138e56327af118603ef.tar.bz2
Merged revisions 74966 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74966 | ronald.oussoren | 2009-09-20 13:19:00 +0200 (Sun, 20 Sep 2009) | 2 lines For for issue 6934: failures in postflight script in OSX installer ........
Diffstat (limited to 'Mac/BuildScript')
-rwxr-xr-xMac/BuildScript/scripts/postflight.framework11
1 files changed, 5 insertions, 6 deletions
diff --git a/Mac/BuildScript/scripts/postflight.framework b/Mac/BuildScript/scripts/postflight.framework
index 0e64616..4c37107 100755
--- a/Mac/BuildScript/scripts/postflight.framework
+++ b/Mac/BuildScript/scripts/postflight.framework
@@ -6,28 +6,27 @@
PYVER="@PYVER@"
FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@"
-"${FWK}/bin/python" -Wi \
+"${FWK}/bin/python@PYVER@" -Wi \
"${FWK}/lib/python${PYVER}/compileall.py" \
-x badsyntax -x site-packages \
"${FWK}/lib/python${PYVER}"
-"${FWK}/bin/python" -Wi -O \
+"${FWK}/bin/python@PYVER@" -Wi -O \
"${FWK}/lib/python${PYVER}/compileall.py" \
-x badsyntax -x site-packages \
"${FWK}/lib/python${PYVER}"
-"${FWK}/bin/python" -Wi \
+"${FWK}/bin/python@PYVER@" -Wi \
"${FWK}/lib/python${PYVER}/compileall.py" \
-x badsyntax -x site-packages \
"${FWK}/Mac/Tools"
-"${FWK}/bin/python" -Wi -O \
+"${FWK}/bin/python@PYVER@" -Wi -O \
"${FWK}/lib/python${PYVER}/compileall.py" \
-x badsyntax -x site-packages \
"${FWK}/Mac/Tools"
-
-chown -R admin "${FWK}"
+chgrp -R admin "${FWK}"
chmod -R g+w "${FWK}"
exit 0