[libtap-parser-sourcehandler-pgtap-perl] 01/02: Fix t/scripts/psql shebang for the autopkgtest checks
Niko Tyni
ntyni at moszumanska.debian.org
Sun Dec 27 19:23:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
ntyni pushed a commit to branch master
in repository libtap-parser-sourcehandler-pgtap-perl.
commit 85c9dc79154cb1542f577e3dc6690c12d3b16e20
Author: Niko Tyni <ntyni at debian.org>
Date: Sun Dec 27 20:46:55 2015 +0200
Fix t/scripts/psql shebang for the autopkgtest checks
Closes: #809106
---
debian/tests/pkg-perl/smoke-setup | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/tests/pkg-perl/smoke-setup b/debian/tests/pkg-perl/smoke-setup
new file mode 100755
index 0000000..2711b77
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-setup
@@ -0,0 +1,7 @@
+#!/bin/sh
+grep -q "eval 'exec" $TDIR/t/scripts/psql || exit 0
+echo "$0: fixing $TDIR/t/scripts/psql"
+
+# gosh, I would much rather have used Module::Build fix_shebang_lines(),
+# but it wouldn't cooperate
+sed -i '1,4 d; 5i#!/usr/bin/perl' $TDIR/t/scripts/psql
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtap-parser-sourcehandler-pgtap-perl.git
More information about the Pkg-perl-cvs-commits
mailing list