From d5e4157b1e98f645c8723d27d8f80c9d9ae66ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kusalananda=20K=C3=A4h=C3=A4ri?= <ak4@sanger.ac.uk> Date: Wed, 30 Nov 2011 11:47:46 +0000 Subject: [PATCH] Add a comment in certain scripts to point out the fact that the Perl executable used by the script is determined by the myRun.ksh shell script (or myManager.ksh for utils/manage_id_mapping_tables.pl). This is done this way to allow a user to change the perl that is used in *one* place, rather than in each and every script. --- misc-scripts/id_mapping/dump_by_seq_region.pl | 2 ++ misc-scripts/id_mapping/dump_cache.pl | 2 ++ misc-scripts/id_mapping/fake_stable_id_mapping.pl | 2 ++ misc-scripts/id_mapping/id_mapping.pl | 2 ++ misc-scripts/id_mapping/run.pl | 2 ++ misc-scripts/id_mapping/synteny_rescore.pl | 2 ++ misc-scripts/id_mapping/utils/manage_id_mapping_tables.pl | 2 ++ 7 files changed, 14 insertions(+) diff --git a/misc-scripts/id_mapping/dump_by_seq_region.pl b/misc-scripts/id_mapping/dump_by_seq_region.pl index 22b54bf89d..4e320f9eae 100755 --- a/misc-scripts/id_mapping/dump_by_seq_region.pl +++ b/misc-scripts/id_mapping/dump_by_seq_region.pl @@ -1,4 +1,6 @@ #!/usr/bin/env perl +# Don't change the above line. +# Change the PATH in the myRun.ksh script if you want to use another perl. =head1 NAME diff --git a/misc-scripts/id_mapping/dump_cache.pl b/misc-scripts/id_mapping/dump_cache.pl index 00d01a3d14..d10aba8cd4 100755 --- a/misc-scripts/id_mapping/dump_cache.pl +++ b/misc-scripts/id_mapping/dump_cache.pl @@ -1,4 +1,6 @@ #!/usr/bin/env perl +# Don't change the above line. +# Change the PATH in the myRun.ksh script if you want to use another perl. =head1 NAME diff --git a/misc-scripts/id_mapping/fake_stable_id_mapping.pl b/misc-scripts/id_mapping/fake_stable_id_mapping.pl index 0aa8227214..c016983661 100755 --- a/misc-scripts/id_mapping/fake_stable_id_mapping.pl +++ b/misc-scripts/id_mapping/fake_stable_id_mapping.pl @@ -1,4 +1,6 @@ #!/usr/bin/env perl +# Don't change the above line. +# Change the PATH in the myRun.ksh script if you want to use another perl. =head1 NAME diff --git a/misc-scripts/id_mapping/id_mapping.pl b/misc-scripts/id_mapping/id_mapping.pl index 3aada47011..d0fa3d66d6 100755 --- a/misc-scripts/id_mapping/id_mapping.pl +++ b/misc-scripts/id_mapping/id_mapping.pl @@ -1,4 +1,6 @@ #!/usr/bin/env perl +# Don't change the above line. +# Change the PATH in the myRun.ksh script if you want to use another perl. =head1 NAME diff --git a/misc-scripts/id_mapping/run.pl b/misc-scripts/id_mapping/run.pl index dfd4972958..156caf3c7a 100755 --- a/misc-scripts/id_mapping/run.pl +++ b/misc-scripts/id_mapping/run.pl @@ -1,4 +1,6 @@ #!/usr/bin/env perl +# Don't change the above line. +# Change the PATH in the myRun.ksh script if you want to use another perl. =head1 NAME diff --git a/misc-scripts/id_mapping/synteny_rescore.pl b/misc-scripts/id_mapping/synteny_rescore.pl index ba1591ebcd..5d6f95d9a1 100755 --- a/misc-scripts/id_mapping/synteny_rescore.pl +++ b/misc-scripts/id_mapping/synteny_rescore.pl @@ -1,4 +1,6 @@ #!/usr/bin/env perl +# Don't change the above line. +# Change the PATH in the myRun.ksh script if you want to use another perl. =head1 NAME diff --git a/misc-scripts/id_mapping/utils/manage_id_mapping_tables.pl b/misc-scripts/id_mapping/utils/manage_id_mapping_tables.pl index 03f167e553..46e5020a4f 100755 --- a/misc-scripts/id_mapping/utils/manage_id_mapping_tables.pl +++ b/misc-scripts/id_mapping/utils/manage_id_mapping_tables.pl @@ -1,4 +1,6 @@ #!/usr/bin/env perl +# Don't change the above line. +# Change the PATH in the myManager.ksh script if you want to use another perl. =head1 NAME -- GitLab