mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	 b90e06977c
			
		
	
	
		b90e06977c
		
	
	
	
	
		
			
			svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
  r74968 | ronald.oussoren | 2009-09-20 13:22:29 +0200 (Sun, 20 Sep 2009) | 9 lines
  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
  ........
................
		
	
			
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			761 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			761 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| #
 | |
| # Recompile the .py files.
 | |
| #
 | |
| 
 | |
| PYVER="@PYVER@"
 | |
| FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@"
 | |
| 
 | |
| "${FWK}/bin/python@PYVER@" -Wi \
 | |
|     "${FWK}/lib/python${PYVER}/compileall.py" \
 | |
|     -x badsyntax -x site-packages \
 | |
|     "${FWK}/lib/python${PYVER}"
 | |
| 
 | |
| "${FWK}/bin/python@PYVER@" -Wi -O \
 | |
|     "${FWK}/lib/python${PYVER}/compileall.py" \
 | |
|     -x badsyntax -x site-packages \
 | |
|     "${FWK}/lib/python${PYVER}"
 | |
| 
 | |
| "${FWK}/bin/python@PYVER@" -Wi \
 | |
|     "${FWK}/lib/python${PYVER}/compileall.py" \
 | |
|     -x badsyntax -x site-packages \
 | |
|     "${FWK}/Mac/Tools"
 | |
| 
 | |
| "${FWK}/bin/python@PYVER@" -Wi -O \
 | |
|     "${FWK}/lib/python${PYVER}/compileall.py" \
 | |
|     -x badsyntax -x site-packages \
 | |
|     "${FWK}/Mac/Tools"
 | |
| 
 | |
| chgrp -R admin "${FWK}"
 | |
| chmod -R g+w "${FWK}"
 | |
| 
 | |
| exit 0
 |