summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-09-28 21:27:32 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-09-29 09:32:04 -0700
commita12c03250927670a45039a5f0bf651e2e84e52a2 (patch)
treefdde90b3cf39cc855e218142818f2d428d471168
parent97980a8f94e0c3f868dc071a24c299d05b017de5 (diff)
downloadspack-a12c03250927670a45039a5f0bf651e2e84e52a2.tar.gz
spack-a12c03250927670a45039a5f0bf651e2e84e52a2.tar.bz2
spack-a12c03250927670a45039a5f0bf651e2e84e52a2.tar.xz
spack-a12c03250927670a45039a5f0bf651e2e84e52a2.zip
make license check slightly more lenient
bin/spack now needs to have a "-*- python -*-" line after the shebang, so that emacs will interpret it as a python file instead of as a shell script. Add one line to the license check limit to accommodate this.
-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 7ae5f1c72b..4c69dba0e7 100644
--- a/lib/spack/spack/cmd/license.py
+++ b/lib/spack/spack/cmd/license.py
@@ -22,7 +22,7 @@ level = "long"
git = which('git')
#: SPDX license id must appear in the first <license_lines> lines of a file
-license_lines = 6
+license_lines = 7
#: Spack's license identifier
apache2_mit_spdx = "(Apache-2.0 OR MIT)"