Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only read 'configure' script when it's actually there #1522

Merged
merged 1 commit into from Sep 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion easybuild/easyblocks/generic/configuremake.py
Expand Up @@ -196,7 +196,7 @@ def configure_step(self, cmd_prefix=''):
# it is possible that the configure script is generated using preconfigopts...
# if so, we're at the mercy of the gods
build_type_option = ''
if AUTOCONF_GENERATED_MSG in read_file(configure_command):
if os.path.exist(configure_command) and AUTOCONF_GENERATED_MSG in read_file(configure_command):
build_type = self.cfg.get('build_type')

if build_type is None:
Expand Down