Commit ef6f8b25 authored by Jérome Perrin's avatar Jérome Perrin

chromedriver

parent 0b86435d
......@@ -28,7 +28,7 @@ recipe = slapos.recipe.build
location = ${buildout:bin-directory}/${:wrapper-name}
script =
chromedriver = self.options['part']
part = self.buildout[os.path.basename(chromium)]
part = self.buildout[os.path.basename(chromedriver)]
with open(%(location)r, 'w') as f:
f.write("""#!/bin/sh -e
cd {}
......@@ -36,7 +36,7 @@ script =
export PATH={}:$PATH
exec ./chromedriver "$@"
""".format(
chromium,
chromedriver,
':'.join(part['library'].split()),
':'.join(part['path'].split()),
))
......
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