Commit 39f325af authored by R W H Bricheno's avatar R W H Bricheno Committed by David Wilson

Fix getting the directory path on Mac OS X.

parent c09dcd82
......@@ -49,7 +49,7 @@ def sh(s, *args):
return shlex.split(s)
mydir = os.path.dirname(__file__)
mydir = os.path.abspath(os.path.dirname(__file__))
with tempfile.NamedTemporaryFile(dir=mydir) as dockerfile_fp:
dockerfile_fp.write(DOCKERFILE)
dockerfile_fp.flush()
......
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