[apr] 03/04: Abort build if libtool does not use /bin/bash

Stefan Fritsch sf at moszumanska.debian.org
Mon Dec 30 15:53:38 UTC 2013


This is an automated email from the git hooks/post-receive script.

sf pushed a commit to annotated tag debian/1.4.8-3
in repository apr.

commit 33852c5dabdcb54caa235c73489855a66867104c
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sat Nov 23 00:32:08 2013 +0100

    Abort build if libtool does not use /bin/bash
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3335e4b..b33a07e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -137,6 +137,10 @@ endif
 override_dh_auto_install:
 	dh_auto_install --destdir=debian/tmp
 	perl -p -i -e "s,^dependency_libs=.*,dependency_libs=''," debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libapr-1.la
+	if ! head -n 1 debian/tmp/usr/share/apr-1.0/build/libtool | grep -q /bin/bash ; then \
+		echo ERROR: The built libtool uses /bin/sh instead of /bin/bash ; \
+		exit 1 ; \
+	fi
 
 override_dh_strip:
 	dh_strip --dbg-package=libapr1-dbg

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apr.git



More information about the Pkg-apache-commits mailing list