From a12c03250927670a45039a5f0bf651e2e84e52a2 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sat, 28 Sep 2019 21:27:32 -0700 Subject: [PATCH] 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. --- lib/spack/spack/cmd/license.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ git = which('git') #: SPDX license id must appear in the first lines of a file -license_lines = 6 +license_lines = 7 #: Spack's license identifier apache2_mit_spdx = "(Apache-2.0 OR MIT)"