Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
39f325af
Commit
39f325af
authored
Oct 30, 2017
by
R W H Bricheno
Committed by
David Wilson
Mar 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix getting the directory path on Mac OS X.
parent
c09dcd82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/build_docker_image.py
tests/build_docker_image.py
+1
-1
No files found.
tests/build_docker_image.py
View file @
39f325af
...
@@ -49,7 +49,7 @@ def sh(s, *args):
...
@@ -49,7 +49,7 @@ def sh(s, *args):
return
shlex
.
split
(
s
)
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
:
with
tempfile
.
NamedTemporaryFile
(
dir
=
mydir
)
as
dockerfile_fp
:
dockerfile_fp
.
write
(
DOCKERFILE
)
dockerfile_fp
.
write
(
DOCKERFILE
)
dockerfile_fp
.
flush
()
dockerfile_fp
.
flush
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment