summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-10-19 14:09:25 -0700
committerGitHub <noreply@github.com>2019-10-19 14:09:25 -0700
commit20bb6fd733977187e733842de70b04bfcfe68602 (patch)
tree0f9bf644399a5a30345df7c834f4df053b7e31f6
parent41fb0395a61093373eb8942b257308bbcc49c2dc (diff)
downloadspack-20bb6fd733977187e733842de70b04bfcfe68602.tar.gz
spack-20bb6fd733977187e733842de70b04bfcfe68602.tar.bz2
spack-20bb6fd733977187e733842de70b04bfcfe68602.tar.xz
spack-20bb6fd733977187e733842de70b04bfcfe68602.zip
shebangs: don't warn when patching long shebangs (#13266)
We've been doing this for quite a while now, and it does not seem to cause issues. - [x] Switch the noisy warning to a debug to make Spack a bit quieter while building.
-rw-r--r--lib/spack/spack/hooks/sbang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/hooks/sbang.py b/lib/spack/spack/hooks/sbang.py
index f40e8d40d5..6987815bc8 100644
--- a/lib/spack/spack/hooks/sbang.py
+++ b/lib/spack/spack/hooks/sbang.py
@@ -69,7 +69,7 @@ def filter_shebang(path):
if saved_mode is not None:
os.chmod(path, saved_mode)
- tty.warn("Patched overlong shebang in %s" % path)
+ tty.debug("Patched overlong shebang in %s" % path)
def filter_shebangs_in_directory(directory, filenames=None):