Skip to content

Commit 8743828

Browse files
committed
Use correct variable in error message
1 parent 7084f91 commit 8743828

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

easybuild/framework/easyblock.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2963,7 +2963,8 @@ def prepare_step(self, start_dir=True, load_tc_deps_modules=True):
29632963
if os.path.isabs(self.rpath_wrappers_dir):
29642964
_log.info(f"Using {self.rpath_wrappers_dir} to store/use RPATH wrappers")
29652965
else:
2966-
raise EasyBuildError(f"Path used for rpath_wrappers_dir is not an absolute path: {path}")
2966+
raise EasyBuildError("Path used for rpath_wrappers_dir is not an absolute path: %s",
2967+
self.rpath_wrappers_dir)
29672968

29682969
if self.iter_idx > 0:
29692970
# reset toolchain for iterative runs before preparing it again

0 commit comments

Comments
 (0)