Skip to content

Commit 2ff99ae

Browse files
committed
bin/*: Remove '-w' from interpreter specifications
Replace '-w' flag from Perl interpreter specifications with 'use strict' directive. This is done in preparation of using a more flexible interpreter specification. Signed-off-by: Peter Oberparleiter <[email protected]>
1 parent 3b378b0 commit 2ff99ae

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

bin/gendesc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/perl
22
#
33
# Copyright (c) International Business Machines Corp., 2002
44
#
@@ -36,6 +36,7 @@
3636
#
3737

3838
use strict;
39+
use warnings;
3940
use File::Basename;
4041
use Getopt::Long;
4142
use Cwd qw/abs_path/;

bin/genhtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/perl
22
#
33
# Copyright (c) International Business Machines Corp., 2002,2012
44
#
@@ -65,6 +65,7 @@
6565
#
6666

6767
use strict;
68+
use warnings;
6869
use File::Basename;
6970
use File::Temp qw(tempfile);
7071
use Getopt::Long;

bin/geninfo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/perl
22
#
33
# Copyright (c) International Business Machines Corp., 2002,2012
44
#
@@ -50,6 +50,7 @@
5050
#
5151

5252
use strict;
53+
use warnings;
5354
use File::Basename;
5455
use File::Spec::Functions qw /abs2rel catdir file_name_is_absolute splitdir
5556
splitpath catpath/;

bin/genpng

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/perl
22
#
33
# Copyright (c) International Business Machines Corp., 2002
44
#
@@ -30,6 +30,7 @@
3030
#
3131

3232
use strict;
33+
use warnings;
3334
use File::Basename;
3435
use Getopt::Long;
3536
use Cwd qw/abs_path/;

bin/lcov

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/perl
22
#
33
# Copyright (c) International Business Machines Corp., 2002,2012
44
#
@@ -60,6 +60,7 @@
6060
#
6161

6262
use strict;
63+
use warnings;
6364
use File::Basename;
6465
use File::Path;
6566
use File::Find;

bin/updateversion.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/perl
22

33
use strict;
4+
use warnings;
45

56
use File::Basename;
67

0 commit comments

Comments
 (0)