Skip to content
This repository
Browse code

Revert "Don't use /usr/bin/env."

This reverts commit 790ad8c.

No, we are not going to hardcode /usr/bin/perl, as this will break things for at least one major user of Bucardo. If the -w is the problem, remove that, but keep /usr/bin/env please.
  • Loading branch information...
commit 3288d8c052973a2c3343178cd55ef31abab632df 1 parent 790ad8c
turnstep authored
2  bucardo
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl -w
  1
+#!/usr/bin/env perl -w
2 2
 # -*-mode:cperl; indent-tabs-mode: nil; cperl-indent-level: 4-*-
3 3
 
4 4
 ## Script to control Bucardo
2  scripts/bucardo-report
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Web-based report on Bucardo activity
2  scripts/bucardo_rrd
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Grab a bunch of Bucardo stats for cacti
2  scripts/check_bucardo_sync
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Check the status of Bucardo through the stats page
2  scripts/slony_migrator.pl
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Slony migrator
2  t/00-release.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Make sure the version number is consistent in all places
2  t/01-basic.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Basic tests of Things That Should Always Work
2  t/02-bctl-customname.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test adding, dropping, and listing customnames via bucardo
2  t/02-bctl-db.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test adding, dropping, and changing databases via bucardo
2  t/02-bctl-dbg.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test adding, dropping, and changing database groups via bucardo
2  t/02-bctl-herd.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test adding, dropping, and changing relgroups via bucardo
2  t/02-bctl-sync.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test adding, dropping, and changing databases via bucardo
2  t/02-bctl-table.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test adding, dropping, and changing tables via bucardo
2  t/10-fullcopy.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test fullcopy functionality
2  t/20-drizzle.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test using Drizzle as a database target
2  t/20-mariadb.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test using MariaDB as a database target
2  t/20-mongo.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test using MongoDB as a database target
2  t/20-mysql.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test using MySQL as a database target
2  t/20-oracle.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test using Oracle as a database target
2  t/20-postgres.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test using Postgres as a database target
2  t/20-redis.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test using Redis as a database target
2  t/20-sqlite.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test using SQLite as a database target
2  t/30-delta.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test bucardo_delta and bucardo_track table tasks
2  t/98-cleanup.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Cleanup any mess we made
2  t/99-lint.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Various code analysis
2  t/99-perlcritic.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 use 5.008003;
2  t/99-signature.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test that our SIGNATURE file is valid - requires TEST_SIGNATURE env
2  t/99-spellcheck.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Spellcheck as much as we can
2  t/99-yaml.t
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Test META.yml for YAMLiciousness, requires Test::YAML::Meta
2  t/BucardoTesting.pm
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 package BucardoTesting;
2  t/truncate_test_logs.notest
... ...
@@ -1,4 +1,4 @@
1  
-#!/usr/bin/perl
  1
+#!/usr/bin/env perl
2 2
 # -*-mode:cperl; indent-tabs-mode: nil-*-
3 3
 
4 4
 ## Truncate the log files for all the test databases

0 notes on commit 3288d8c

Please sign in to comment.
Something went wrong with that request. Please try again.