grim/local-pipelines

eeb178e0bcec
Parents 306291b362a9
Children 212c8b25e38f
build_script: use realpath because docker 2 bitches
--- a/pipelines/pipeline.py Sat Jul 23 00:10:52 2016 -0500
+++ b/pipelines/pipeline.py Thu Jul 21 15:11:35 2016 -0700
@@ -29,6 +29,7 @@
def _build_script(self, step):
fd, filename = tempfile.mkstemp(prefix='pipeline', suffix='.sh')
+ filename = os.path.realpath(filename)
with os.fdopen(fd, "w") as ofp:
content = " && \\\n".join(step["script"])