diff options
-rw-r--r-- | lib/spack/llnl/util/filesystem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/llnl/util/filesystem.py b/lib/spack/llnl/util/filesystem.py index a690ef3c37..8a420756ef 100644 --- a/lib/spack/llnl/util/filesystem.py +++ b/lib/spack/llnl/util/filesystem.py @@ -1293,7 +1293,7 @@ def last_modification_time_recursive(path): path = os.path.abspath(path) times = [os.stat(path).st_mtime] times.extend( - os.stat(os.path.join(root, name)).st_mtime + os.lstat(os.path.join(root, name)).st_mtime for root, dirs, files in os.walk(path) for name in dirs + files ) |