From a76a577a85c9290d78210b3fa97adc391173aa0b Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Sat, 6 Jun 2015 21:36:51 +0300
Subject: [PATCH] Fix shebangs in t/scripts/* for Debian autopkgtest

These are substituted during the build, but the Debian runtime
test system re-uses the test suite from an unbuilt source tree.

Forwarded: not-needed
---
 t/scripts/httpd       | 2 +-
 t/scripts/httpd2      | 2 +-
 t/scripts/iconv       | 2 +-
 t/scripts/myapxs      | 2 +-
 t/scripts/mycreatedb  | 2 +-
 t/scripts/myuuid      | 2 +-
 t/scripts/pg_config   | 2 +-
 t/scripts/postgres    | 2 +-
 t/scripts/sqlite3     | 2 +-
 t/scripts/uuid-config | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/t/scripts/httpd b/t/scripts/httpd
index 4a7c468..79a863f 100755
--- a/t/scripts/httpd
+++ b/t/scripts/httpd
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
diff --git a/t/scripts/httpd2 b/t/scripts/httpd2
index fe79f3c..5825177 100755
--- a/t/scripts/httpd2
+++ b/t/scripts/httpd2
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
diff --git a/t/scripts/iconv b/t/scripts/iconv
index 48bb54e..f4367c5 100755
--- a/t/scripts/iconv
+++ b/t/scripts/iconv
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
diff --git a/t/scripts/myapxs b/t/scripts/myapxs
index 1826987..287491b 100755
--- a/t/scripts/myapxs
+++ b/t/scripts/myapxs
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
diff --git a/t/scripts/mycreatedb b/t/scripts/mycreatedb
index 1d2027a..09e64e8 100755
--- a/t/scripts/mycreatedb
+++ b/t/scripts/mycreatedb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
diff --git a/t/scripts/myuuid b/t/scripts/myuuid
index 1d2027a..09e64e8 100755
--- a/t/scripts/myuuid
+++ b/t/scripts/myuuid
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
diff --git a/t/scripts/pg_config b/t/scripts/pg_config
index aea1823..b91c400 100755
--- a/t/scripts/pg_config
+++ b/t/scripts/pg_config
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
diff --git a/t/scripts/postgres b/t/scripts/postgres
index 1d2027a..09e64e8 100755
--- a/t/scripts/postgres
+++ b/t/scripts/postgres
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
diff --git a/t/scripts/sqlite3 b/t/scripts/sqlite3
index fad1edb..46a7ac9 100755
--- a/t/scripts/sqlite3
+++ b/t/scripts/sqlite3
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
diff --git a/t/scripts/uuid-config b/t/scripts/uuid-config
index 2f816df..e2da750 100755
--- a/t/scripts/uuid-config
+++ b/t/scripts/uuid-config
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
-- 
2.1.4

