[apr] 01/01: Abort build if libtool does not use /bin/bash
Stefan Fritsch
sf at moszumanska.debian.org
Fri Nov 22 23:32:49 UTC 2013
This is an automated email from the git hooks/post-receive script.
sf pushed a commit to branch master
in repository apr.
commit 9cb2b0666398df9c7334c14f4455154c0236f7a5
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