Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Mar 9, 2017

fix for #2150

I verified that the enhanced tests indeed replicate the bug reported in #2150.

cc @akesandgren

@boegel boegel added this to the 3.1.2 milestone Mar 9, 2017
@boegel
Copy link
Member Author

boegel commented Mar 9, 2017

@wpoely86 please review?

target_path = os.path.join(easyblocks_dir, filename)

symlink(easyblock_module, target_path)
if not os.path.exists(target_path):
Copy link
Member

Choose a reason for hiding this comment

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

what if it exists and points to something else? Can that happen?

Copy link
Member Author

Choose a reason for hiding this comment

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

no, this is in a dedicated tmpdir

@boegel
Copy link
Member Author

boegel commented Mar 9, 2017

Thanks for the review @wpoely86!

@boegel boegel merged commit cd4adbe into easybuilders:develop Mar 9, 2017
@boegel boegel deleted the include_duplicate_paths branch March 9, 2017 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants