Commit a55fea16 authored by sidnei's avatar sidnei

- ``filepath`` needs to be quoted too, in redo_pyc

git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@98015 62d5b8a3-27da-0310-9561-8e5933582275
parent b6a92f08
...@@ -1169,7 +1169,7 @@ def redo_pyc(egg): ...@@ -1169,7 +1169,7 @@ def redo_pyc(egg):
args = [_safe_arg(sys.executable)] args = [_safe_arg(sys.executable)]
if __debug__: if __debug__:
args.append('-O') args.append('-O')
args.extend(['-m', 'py_compile', filepath]) args.extend(['-m', 'py_compile', _safe_arg(filepath)])
if is_jython: if is_jython:
subprocess.call([sys.executable, args]) subprocess.call([sys.executable, args])
......
...@@ -5,7 +5,7 @@ Certain aspects of every software project are dependent on the ...@@ -5,7 +5,7 @@ Certain aspects of every software project are dependent on the
operating system used. operating system used.
The same - of course - applies to zc.buildout. The same - of course - applies to zc.buildout.
To test that windows doesn't get in the way, we'll test some system To test that Windows doesn't get in the way, we'll test some system
dependent aspects. dependent aspects.
The following recipe will create a read-only file which shutil.rmtree The following recipe will create a read-only file which shutil.rmtree
can't delete. can't delete.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment