fastqc: Use the spack built perl (#35276)
The fastqc script was using the system perl. This PR sets the script to use the spack built/provided perl. This PR also removes the code that adds the java path. That should be handled by module loading as far as I know.
This commit is contained in:
		| @@ -22,6 +22,9 @@ class Fastqc(Package): | ||||
| 
 | ||||
|     patch("fastqc.patch", level=0) | ||||
| 
 | ||||
|     def patch(self): | ||||
|         filter_file("/usr/bin/perl", self.spec["perl"].command.path, "fastqc", backup=False) | ||||
| 
 | ||||
|     def install(self, spec, prefix): | ||||
|         mkdir(prefix.bin) | ||||
|         mkdir(prefix.lib) | ||||
| @@ -32,11 +35,3 @@ def install(self, spec, prefix): | ||||
|             install_tree(d, join_path(prefix.lib, d)) | ||||
|         chmod = which("chmod") | ||||
|         chmod("+x", prefix.bin.fastqc) | ||||
| 
 | ||||
|     # In theory the 'run' dependency on 'jdk' above should take | ||||
|     # care of this for me. In practice, it does not. | ||||
|     def setup_run_environment(self, env): | ||||
|         """Add <prefix> to the path; the package has a script at the | ||||
|         top level. | ||||
|         """ | ||||
|         env.prepend_path("PATH", self.spec["java"].prefix.bin) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Glenn Johnson
					Glenn Johnson