Skip to content

Commit

Permalink
Treat srcdir as relative to the start_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Jan 16, 2020
1 parent 73d9250 commit 4f1c311
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easybuild/easyblocks/generic/cmakemake.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ def configure_step(self, srcdir=None, builddir=None):

if srcdir is None:
if self.cfg.get('srcdir', None) is not None:
srcdir = self.cfg['srcdir']
# Note that the join returns srcdir if it is absolute
srcdir = os.path.join(default_srcdir, self.cfg['srcdir'])
else:
srcdir = default_srcdir

Expand Down

0 comments on commit 4f1c311

Please sign in to comment.