mummer-3.23-fix-shebangs.patch 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Use portable shebangs instead of hardcoding interpreters
  2. See also: https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/
  3. --- a/scripts/dnadiff.pl
  4. +++ b/scripts/dnadiff.pl
  5. @@ -1,4 +1,4 @@
  6. -#!__PERL_PATH -w
  7. +#!/usr/bin/env perl
  8. #-------------------------------------------------------------------------------
  9. # Programmer: Adam M Phillippy, University of Maryland
  10. --- a/scripts/exact-tandems.csh
  11. +++ b/scripts/exact-tandems.csh
  12. @@ -1,4 +1,4 @@
  13. -#!__CSH_PATH -f
  14. +#!/usr/bin/env csh
  15. #
  16. # Find exact tandem repeats in specified file involving an
  17. # exact duplicate of at least the specified length
  18. --- a/scripts/mapview.pl
  19. +++ b/scripts/mapview.pl
  20. @@ -1,4 +1,4 @@
  21. -#!__PERL_PATH
  22. +#!/usr/bin/env perl
  23. use lib "__SCRIPT_DIR";
  24. use Foundation;
  25. --- a/scripts/mummerplot.pl
  26. +++ b/scripts/mummerplot.pl
  27. @@ -1,4 +1,4 @@
  28. -#!__PERL_PATH
  29. +#!/usr/bin/env perl
  30. ################################################################################
  31. # Programmer: Adam M Phillippy, The Institute for Genomic Research
  32. --- a/scripts/nucmer2xfig.pl
  33. +++ b/scripts/nucmer2xfig.pl
  34. @@ -1,4 +1,4 @@
  35. -#!__PERL_PATH
  36. +#!/usr/bin/env perl
  37. # (c) Steven Salzberg 2001
  38. # Make an xfig plot for a comparison of a reference chromosome (or single
  39. # molecule) versus a multifasta file of contigs from another genome.
  40. --- a/scripts/nucmer.pl
  41. +++ b/scripts/nucmer.pl
  42. @@ -1,4 +1,4 @@
  43. -#!__PERL_PATH
  44. +#!/usr/bin/env perl
  45. #-------------------------------------------------------------------------------
  46. # Programmer: Adam M Phillippy, The Institute for Genomic Research
  47. --- a/scripts/promer.pl
  48. +++ b/scripts/promer.pl
  49. @@ -1,4 +1,4 @@
  50. -#!__PERL_PATH
  51. +#!/usr/bin/env perl
  52. #-------------------------------------------------------------------------------
  53. # Programmer: Adam M Phillippy, The Institute for Genomic Research
  54. --- a/scripts/run-mummer1.csh
  55. +++ b/scripts/run-mummer1.csh
  56. @@ -1,4 +1,4 @@
  57. -#!__CSH_PATH -f
  58. +#!/usr/bin/env csh
  59. #
  60. # **SEVERELY** antiquated script for running the mummer 1 suite
  61. # -r option reverse complements the query sequence, coordinates of the reverse
  62. --- a/scripts/run-mummer3.csh
  63. +++ b/scripts/run-mummer3.csh
  64. @@ -1,4 +1,4 @@
  65. -#!__CSH_PATH -f
  66. +#!/usr/bin/env csh
  67. #
  68. # for running the basic mummer 3 suite, should use nucmer instead when possible
  69. # to avoid the confusing reverse coordinate system of the raw programs.