diff options
| author | Ronald Oussoren <ronaldoussoren@mac.com> | 2006-06-07 18:58:42 (GMT) |
|---|---|---|
| committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2006-06-07 18:58:42 (GMT) |
| commit | 0e5b70d417ef5056007e84581e2843b97e254af8 (patch) | |
| tree | d4583bbb9d1d3bdaa6789800558e499af5c4c67f /Mac/BuildScript/scripts/postflight.framework | |
| parent | c629be8a1e77786e3a839ed4784c7b2b36c6344f (diff) | |
| download | cpython-0e5b70d417ef5056007e84581e2843b97e254af8.zip cpython-0e5b70d417ef5056007e84581e2843b97e254af8.tar.gz cpython-0e5b70d417ef5056007e84581e2843b97e254af8.tar.bz2 | |
mv Mac/OSX/BuildScript one level up
Diffstat (limited to 'Mac/BuildScript/scripts/postflight.framework')
| -rwxr-xr-x | Mac/BuildScript/scripts/postflight.framework | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Mac/BuildScript/scripts/postflight.framework b/Mac/BuildScript/scripts/postflight.framework new file mode 100755 index 0000000..532e745 --- /dev/null +++ b/Mac/BuildScript/scripts/postflight.framework @@ -0,0 +1,33 @@ +#!/bin/sh +# +# Recompile the .py files. +# + +PYVER="@PYVER@" +FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@/" + +"${FWK}/bin/python" -Wi -tt \ + "${FWK}/lib/python${PYVER}/compileall.py" \ + -x badsyntax -x site-packages \ + "${FWK}/lib/python${PYVER}" + +"${FWK}/bin/python" -Wi -tt -O \ + "${FWK}/lib/python${PYVER}/compileall.py" \ + -x badsyntax -x site-packages \ + "${FWK}/lib/python${PYVER}" + +"${FWK}/bin/python" -Wi -tt \ + "${FWK}/lib/python${PYVER}/compileall.py" \ + -x badsyntax -x site-packages \ + "${FWK}/Mac/Tools" + +"${FWK}/bin/python" -Wi -tt -O \ + "${FWK}/lib/python${PYVER}/compileall.py" \ + -x badsyntax -x site-packages \ + "${FWK}/Mac/Tools" + + +chown -R admin "${FWK}" +chmod -R g+w "${FWK}" + +exit 0 |
