~malept/ubuntu/lucid/python2.6/dev-dependency-fix

« back to all changes in this revision

Viewing changes to Mac/BuildScript/scripts/postflight.framework

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-13 12:51:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090213125100-uufgcb9yeqzujpqw
Tags: upstream-2.6.1
ImportĀ upstreamĀ versionĀ 2.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# Recompile the .py files.
 
4
#
 
5
 
 
6
PYVER="@PYVER@"
 
7
FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@"
 
8
 
 
9
"${FWK}/bin/python" -Wi -tt \
 
10
    "${FWK}/lib/python${PYVER}/compileall.py" \
 
11
    -x badsyntax -x site-packages \
 
12
    "${FWK}/lib/python${PYVER}"
 
13
 
 
14
"${FWK}/bin/python" -Wi -tt -O \
 
15
    "${FWK}/lib/python${PYVER}/compileall.py" \
 
16
    -x badsyntax -x site-packages \
 
17
    "${FWK}/lib/python${PYVER}"
 
18
 
 
19
"${FWK}/bin/python" -Wi -tt \
 
20
    "${FWK}/lib/python${PYVER}/compileall.py" \
 
21
    -x badsyntax -x site-packages \
 
22
    "${FWK}/Mac/Tools"
 
23
 
 
24
"${FWK}/bin/python" -Wi -tt -O \
 
25
    "${FWK}/lib/python${PYVER}/compileall.py" \
 
26
    -x badsyntax -x site-packages \
 
27
    "${FWK}/Mac/Tools"
 
28
 
 
29
 
 
30
chown -R admin "${FWK}"
 
31
chmod -R g+w "${FWK}"
 
32
 
 
33
exit 0