summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/llnl/util/filesystem.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/llnl/util/filesystem.py b/lib/spack/llnl/util/filesystem.py
index 066eca5bd3..f4a1a9360c 100644
--- a/lib/spack/llnl/util/filesystem.py
+++ b/lib/spack/llnl/util/filesystem.py
@@ -1443,6 +1443,7 @@ def search_paths_for_executables(*path_hints):
if not os.path.isdir(path):
continue
+ path = os.path.abspath(path)
executable_paths.append(path)
bin_dir = os.path.join(path, 'bin')