Skip to content

Conversation

akesandgren
Copy link
Contributor

And handle fedora as well.

@akesandgren akesandgren added this to the 4.x milestone Nov 6, 2019
}
os_name = get_os_name()

rh_based_os = any(os_name.startswith(x) for x in ['centos', 'fedora', 'redhat', 'rhel', 'sl'])
Copy link
Member

Choose a reason for hiding this comment

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

Isn't the startswith('sl') a bit risky? That's not exactly strict... Slackware for example?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It probably is, I just took that from some other part of EasyBuild.
Like tensorflow.py

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@boegel Better now?

@akesandgren
Copy link
Contributor Author

@boegel Better now?

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.

2 participants