File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ def get_image_path(repo_url, trailing_path):
165165
166166
167167
168- def run_build (logfile = None ):
168+ def run_build (logfile = '/tmp/.shub-log' ):
169169
170170 '''run_build will generate the Singularity build from a spec_file from a repo_url.
171171
@@ -287,9 +287,10 @@ def run_build(logfile=None):
287287 "metadata" : json .dumps (metadata )}
288288
289289 # Did the user specify a specific log file?
290- logfile = get_build_metadata ('logfile' )
291- if logfile is not None :
292- response ['logfile' ] = logfile
290+ custom_logfile = get_build_metadata ('logfile' )
291+ if custom_logfile is not None :
292+ logfile = custom_logfile
293+ response ['logfile' ] = logfile
293294
294295 # Send final build data to instance
295296 send_build_data (build_dir = build_dir ,
You can’t perform that action at this time.
0 commit comments