summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 11:19:00 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 11:19:00 (GMT)
commit956f4b2520ef921daa3ab1083d56d74317505c2e (patch)
tree3b0a6917d99d1292c163b880d90f5b3cf66152f7 /Mac
parent809073bee109f72c939be1a5631d03ede97fbf50 (diff)
downloadcpython-956f4b2520ef921daa3ab1083d56d74317505c2e.zip
cpython-956f4b2520ef921daa3ab1083d56d74317505c2e.tar.gz
cpython-956f4b2520ef921daa3ab1083d56d74317505c2e.tar.bz2
For for issue 6934: failures in postflight script in OSX installer
Diffstat (limited to 'Mac')
-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 b796a10..2911e27 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 -tt \
+"${FWK}/bin/python@PYVER@" -Wi -tt \
"${FWK}/lib/python${PYVER}/compileall.py" \
-x badsyntax -x site-packages \
"${FWK}/lib/python${PYVER}"
-"${FWK}/bin/python" -Wi -tt -O \
+"${FWK}/bin/python@PYVER@" -Wi -tt -O \
"${FWK}/lib/python${PYVER}/compileall.py" \
-x badsyntax -x site-packages \
"${FWK}/lib/python${PYVER}"
-"${FWK}/bin/python" -Wi -tt \
+"${FWK}/bin/python@PYVER@" -Wi -tt \
"${FWK}/lib/python${PYVER}/compileall.py" \
-x badsyntax -x site-packages \
"${FWK}/Mac/Tools"
-"${FWK}/bin/python" -Wi -tt -O \
+"${FWK}/bin/python@PYVER@" -Wi -tt -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