summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/license.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/license.py b/lib/spack/spack/cmd/license.py
index feb82fe0ed..df208d8bbe 100644
--- a/lib/spack/spack/cmd/license.py
+++ b/lib/spack/spack/cmd/license.py
@@ -40,7 +40,7 @@ licensed_files = [
r'^lib/spack/env/cc$',
# rst files in documentation
- r'^lib/spack/docs/.*\.rst$',
+ r'^lib/spack/docs/(?!command_index|spack|llnl).*\.rst$',
r'^lib/spack/docs/.*\.py$',
# 2 files in external