Commit 6c283af5 authored by Julien Muchembled's avatar Julien Muchembled

default: check that 'install' script creates 'location'

parent af320d43
......@@ -282,6 +282,8 @@ class Script(EnvironMixin):
else:
self.logger.debug('Removing %r', path)
rmtree(path)
if not os.path.exists(location):
raise zc.buildout.UserError('%r was not created' % location)
return location
def update(self):
......
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