summaryrefslogtreecommitdiff
path: root/lib/spack/llnl/util
diff options
context:
space:
mode:
authorJohn Parent <john.parent@kitware.com>2021-10-22 14:00:02 -0400
committerPeter Scheibel <scheibel1@llnl.gov>2022-03-17 09:01:01 -0700
commit3a994032f8143a2bdbfe5c61baeb12b1bd2fed60 (patch)
tree6d4e357f96f071bb50c62cb7238bb85f0431c6b7 /lib/spack/llnl/util
parent90c773488c59e57c19ecca5635c1ae7f70e56076 (diff)
downloadspack-3a994032f8143a2bdbfe5c61baeb12b1bd2fed60.tar.gz
spack-3a994032f8143a2bdbfe5c61baeb12b1bd2fed60.tar.bz2
spack-3a994032f8143a2bdbfe5c61baeb12b1bd2fed60.tar.xz
spack-3a994032f8143a2bdbfe5c61baeb12b1bd2fed60.zip
Spack on Windows package ports
CMake - Windows Bootstrap (#25825) Remove hardcoded cmake compiler (#26410) Revert breaking cmake changes Ensure no autotools on Windows Perl on Windows (#26612) Python source build windows (#26313) Reconfigure sysconf for Windows Python2.6 compatibility Fxixup new sbang tests for windows Ruby support (#28287) Add NASM support (#28319) Add mock Ninja package for testing
Diffstat (limited to 'lib/spack/llnl/util')
-rw-r--r--lib/spack/llnl/util/tty/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/llnl/util/tty/__init__.py b/lib/spack/llnl/util/tty/__init__.py
index b244b8a58d..5b8729d7ec 100644
--- a/lib/spack/llnl/util/tty/__init__.py
+++ b/lib/spack/llnl/util/tty/__init__.py
@@ -146,7 +146,7 @@ def process_stacktrace(countback):
file_list = []
for frame in st:
# Check that the file is a spack file
- if frame[0].find("/spack") >= 0:
+ if frame[0].find(os.path.sep + "spack") >= 0:
file_list.append(frame[0])
# We use commonprefix to find what the spack 'root' directory is.
root_dir = os.path.commonprefix(file_list)