We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feda76e commit 37bc847Copy full SHA for 37bc847
1 file changed
singularity/build/google.py
@@ -165,7 +165,7 @@ def get_image_path(repo_url, trailing_path):
165
166
167
168
-def run_build(logfile=None):
+def run_build(logfile='/tmp/.shub-log'):
169
170
'''run_build will generate the Singularity build from a spec_file from a repo_url.
171
@@ -287,9 +287,10 @@ def run_build(logfile=None):
287
"metadata": json.dumps(metadata)}
288
289
# Did the user specify a specific log file?
290
- logfile = get_build_metadata('logfile')
291
- if logfile is not None:
292
- response['logfile'] = logfile
+ custom_logfile = get_build_metadata('logfile')
+ if custom_logfile is not None:
+ logfile = custom_logfile
293
+ response['logfile'] = logfile
294
295
# Send final build data to instance
296
send_build_data(build_dir=build_dir,
0 commit comments