Convert encoding of script in interproscan (#14356)
One of the perl scripts was encoded with ISO-8859-1, which caused the sbang replacement process to fail when spack uses python3. This PR converts the ps_scan script to UTF-8 encoding.
This commit is contained in:
parent
726a662c2c
commit
f8acb95ad3
@ -42,6 +42,7 @@ class Interproscan(Package):
|
||||
|
||||
patch('large-gid.patch', when='@5:')
|
||||
patch('non-interactive.patch', when='@:4.8')
|
||||
patch('ps_scan.patch', when='@:4.8')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
with working_dir('core'):
|
||||
|
12
var/spack/repos/builtin/packages/interproscan/ps_scan.patch
Normal file
12
var/spack/repos/builtin/packages/interproscan/ps_scan.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru a/bin/ps_scan.pl b/bin/ps_scan.pl
|
||||
--- a/bin/ps_scan.pl 2020-01-01 14:07:54.243869822 -0600
|
||||
+++ b/bin/ps_scan.pl 2020-01-01 14:08:03.786850313 -0600
|
||||
@@ -8,7 +8,7 @@
|
||||
# Authors:
|
||||
# Alexandre Gattiker
|
||||
# Edouard de Castro; E-mail: ecastro@isb-sib.ch
|
||||
-# Béatrice Cuche (evaluated_by post-processing)
|
||||
+# Béatrice Cuche (evaluated_by post-processing)
|
||||
#
|
||||
# Contributions:
|
||||
# Lorenza Bordoli (repeat method)
|
Loading…
Reference in New Issue
Block a user