Skip to content

add symlink to wrapped module file when creating .modulerc in temporary location#1539

Merged
vanzod merged 1 commit intoeasybuilders:developfrom
boegel:modulerc_lmod6
Oct 9, 2018
Merged

add symlink to wrapped module file when creating .modulerc in temporary location#1539
vanzod merged 1 commit intoeasybuilders:developfrom
boegel:modulerc_lmod6

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Oct 4, 2018

@boegel boegel added the bug fix label Oct 4, 2018
@boegel boegel added this to the 3.7.1 milestone Oct 4, 2018
modulerc = os.path.join(os.path.dirname(modfile_path), self.module_generator.DOT_MODULERC)

if os.path.exists(modulerc) and not build_option('force'):
raise EasyBuildError("Found existing file at %s, not overwriting without --force", modulerc)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check is now being done in the ModuleGenerator.modulerc method (see easybuilders/easybuild-framework#2611), so no point in doing it again here.

Comment thread easybuild/easyblocks/generic/modulerc.py
@damianam damianam closed this Oct 9, 2018
@damianam damianam reopened this Oct 9, 2018
@easybuilders easybuilders deleted a comment from boegelbot Oct 9, 2018
@vanzod vanzod merged commit bfce27c into easybuilders:develop Oct 9, 2018
@boegel boegel deleted the modulerc_lmod6 branch October 9, 2018 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants