From 3a994032f8143a2bdbfe5c61baeb12b1bd2fed60 Mon Sep 17 00:00:00 2001 From: John Parent Date: Fri, 22 Oct 2021 14:00:02 -0400 Subject: 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 --- lib/spack/llnl/util/tty/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/spack/llnl/util/tty') 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) -- cgit v1.2.3-60-g2f50