Commit 264a070f authored by jim's avatar jim

Fixed windows incompatibilities in revent bootstrap changes

git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@101222 62d5b8a3-27da-0310-9561-8e5933582275
parent 3bc9d21c
...@@ -50,7 +50,7 @@ cmd = 'from setuptools.command.easy_install import main; main()' ...@@ -50,7 +50,7 @@ cmd = 'from setuptools.command.easy_install import main; main()'
ws = pkg_resources.working_set ws = pkg_resources.working_set
if len(sys.argv) > 2 and sys.argv[1] == '--version': if len(sys.argv) > 2 and sys.argv[1] == '--version':
VERSION = ' == %s' % sys.argv[2] VERSION = '==%s' % sys.argv[2]
args = sys.argv[3:] + ['bootstrap'] args = sys.argv[3:] + ['bootstrap']
else: else:
VERSION = '' VERSION = ''
......
...@@ -75,6 +75,8 @@ Now let's try with `1.1.2`, which happens to exist:: ...@@ -75,6 +75,8 @@ Now let's try with `1.1.2`, which happens to exist::
Let's make sure the generated `buildout` script uses it:: Let's make sure the generated `buildout` script uses it::
>>> buildout_script = join(sample_buildout, 'bin', 'buildout') >>> buildout_script = join(sample_buildout, 'bin', 'buildout')
>>> if sys.platform.startswith('win'):
... buildout_script += '-script.py'
>>> print open(buildout_script).read() # doctest: +ELLIPSIS >>> print open(buildout_script).read() # doctest: +ELLIPSIS
#... #...
<BLANKLINE> <BLANKLINE>
......
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