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:
parent
41fb0395a6
commit
20bb6fd733
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue