Skip to content

Commit 5288d84

Browse files
committed
modified: setup.py
modified: singularity/build/google.py modified: singularity/package.py
1 parent bfcff8d commit 5288d84

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
name="singularity",
88

99
# Version number:
10-
version="0.46",
10+
version="0.47",
1111

1212
# Application author details:
1313
author="Vanessa Sochat",

singularity/build/google.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def run_build(build_dir=None,spec_file=None,repo_url=None,token=None,size=None,b
194194

195195
# If size is None, get from image + 50 padding
196196
if params['size'] == None:
197-
bot.logger.info("Size not detected for build. Will estimate with 200MB padding.")
197+
bot.logger.info("Size not detected for build. Will estimate with 50MB padding.")
198198
params['size'] = estimate_image_size(spec_file=params['spec_file'],
199199
sudopw='')
200200

singularity/package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ def build_from_spec(spec_file=None,build_dir=None,size=None,sudopw=None,
6464
bot.logger.debug("Building in directory %s",build_dir)
6565

6666
# Copy the spec to a temporary directory
67-
spec_path = "%s/%s" %(build_dir,spec_file)
67+
spec_path = "%s/%s" %(build_dir,os.path.basename(spec_file))
6868
if not os.path.exists(spec_path):
6969
shutil.copyfile(spec_file,spec_path)
70-
# If name isn't provided, call it Singularity
70+
7171
image_path = "%s/image" %(build_dir)
7272
# Run create image and bootstrap with Singularity command line tool.
7373
if sudopw != None:

0 commit comments

Comments
 (0)