Skip to content

Commit 787e7d7

Browse files
authored
Merge pull request #80 from gvallee/v1.2.1
Bug fixes for v1.2.1
2 parents 6c5d7ac + 6f7b1c6 commit 787e7d7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

etc/sympi_singularity.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ master=https://github.com/sylabs/singularity.git
1313
3.4.2=https://github.com/sylabs/singularity/releases/download/v3.4.2/singularity-3.4.2.tar.gz
1414
3.5.0=https://github.com/sylabs/singularity/releases/download/v3.5.0/singularity-3.5.0.tar.gz
1515
3.5.1=https://github.com/sylabs/singularity/releases/download/v3.5.1/singularity-3.5.1.tar.gz
16+
3.5.2=https://github.com/sylabs/singularity/releases/download/v3.5.2/singularity-3.5.2.tar.gz

pkg/sy/sy.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ const (
4646

4747
// SudoCmdsKey is the key used to specify which Singularity commands need to be executed with sudo
4848
SudoCmdsKey = "singularity_sudo_cmds"
49+
50+
sympiConfigFilename = "sympi_singularity.conf"
4951
)
5052

5153
// GetPathToSyMPIConfigFile returns the path to the tool's configuration file
@@ -180,7 +182,7 @@ func IsSudoCmd(cmd string, sysCfg *sys.Config) bool {
180182
}
181183

182184
func getSingularityConfigFilePath(sysCfg *sys.Config) string {
183-
return filepath.Join(sysCfg.EtcDir, "synmpi_singularity.conf")
185+
return filepath.Join(sysCfg.EtcDir, sympiConfigFilename)
184186
}
185187

186188
// LoadSingularityReleaseConf loads from the configuration file the list of supported

0 commit comments

Comments
 (0)