[commit: ghc] master: Replace all #!/usr/bin/perl with #!/usr/bin/env perl (34db5cc)
git at git.haskell.org
git at git.haskell.org
Wed Apr 30 09:23:39 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/34db5ccf52ec2a1b5e953c282d0c52a7fc82c02a/ghc
>---------------------------------------------------------------
commit 34db5ccf52ec2a1b5e953c282d0c52a7fc82c02a
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Wed Apr 30 11:22:32 2014 +0200
Replace all #!/usr/bin/perl with #!/usr/bin/env perl
As suggested in #9057.
>---------------------------------------------------------------
34db5ccf52ec2a1b5e953c282d0c52a7fc82c02a
boot | 3 ++-
distrib/remilestoning.pl | 3 ++-
sync-all | 3 ++-
utils/genargs/genargs.pl | 5 ++++-
4 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/boot b/boot
index 676f434..8977eaf 100755
--- a/boot
+++ b/boot
@@ -1,5 +1,6 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
+use warnings;
use strict;
use Cwd;
diff --git a/distrib/remilestoning.pl b/distrib/remilestoning.pl
index a544dda..60a23af 100644
--- a/distrib/remilestoning.pl
+++ b/distrib/remilestoning.pl
@@ -1,5 +1,6 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
+use warnings;
use strict;
use DBI;
diff --git a/sync-all b/sync-all
index e43a6f6..ffc150e 100755
--- a/sync-all
+++ b/sync-all
@@ -1,5 +1,6 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
+use warnings;
use strict;
use Cwd;
use English;
diff --git a/utils/genargs/genargs.pl b/utils/genargs/genargs.pl
index 2ef2dfa..33dd2a0 100644
--- a/utils/genargs/genargs.pl
+++ b/utils/genargs/genargs.pl
@@ -1,4 +1,7 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
+
+use warnings;
+
my $quote_open = 0;
my $quote_char = '';
my $accum = "";
More information about the ghc-commits
mailing list