Skip to content

Commit

Permalink
bin/*: Remove '-w' from interpreter specifications
Browse files Browse the repository at this point in the history
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 <oberpar@linux.ibm.com>
  • Loading branch information
oberpar committed Feb 28, 2019
1 parent 3b378b0 commit 2ff99ae
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion bin/gendesc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/perl
#
# Copyright (c) International Business Machines Corp., 2002
#
Expand Down Expand Up @@ -36,6 +36,7 @@
#

use strict;
use warnings;
use File::Basename;
use Getopt::Long;
use Cwd qw/abs_path/;
Expand Down
3 changes: 2 additions & 1 deletion bin/genhtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/perl
#
# Copyright (c) International Business Machines Corp., 2002,2012
#
Expand Down Expand Up @@ -65,6 +65,7 @@
#

use strict;
use warnings;
use File::Basename;
use File::Temp qw(tempfile);
use Getopt::Long;
Expand Down
3 changes: 2 additions & 1 deletion bin/geninfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/perl
#
# Copyright (c) International Business Machines Corp., 2002,2012
#
Expand Down Expand Up @@ -50,6 +50,7 @@
#

use strict;
use warnings;
use File::Basename;
use File::Spec::Functions qw /abs2rel catdir file_name_is_absolute splitdir
splitpath catpath/;
Expand Down
3 changes: 2 additions & 1 deletion bin/genpng
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/perl
#
# Copyright (c) International Business Machines Corp., 2002
#
Expand Down Expand Up @@ -30,6 +30,7 @@
#

use strict;
use warnings;
use File::Basename;
use Getopt::Long;
use Cwd qw/abs_path/;
Expand Down
3 changes: 2 additions & 1 deletion bin/lcov
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/perl
#
# Copyright (c) International Business Machines Corp., 2002,2012
#
Expand Down Expand Up @@ -60,6 +60,7 @@
#

use strict;
use warnings;
use File::Basename;
use File::Path;
use File::Find;
Expand Down
3 changes: 2 additions & 1 deletion bin/updateversion.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/perl -w
#!/usr/bin/perl

use strict;
use warnings;

use File::Basename;

Expand Down

0 comments on commit 2ff99ae

Please sign in to comment.