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.
This commit is contained in:
Todd Gamblin 2019-10-19 14:09:25 -07:00 committed by GitHub
parent 41fb0395a6
commit 20bb6fd733
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):