[shibboleth-sp2] 78/119: Check if Apache binary exists during peek step.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:52 UTC 2016


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

wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.

commit 4d7f31c91d100c514ad5394a66cc899e0415a894
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Thu Sep 20 16:10:13 2007 +0000

    Check if Apache binary exists during peek step.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 68d683f..3c6d1e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -392,7 +392,7 @@ if test "$need_default" = "yes"; then
   # ask the daemon for the version and set parameters
   AC_MSG_CHECKING(default apache version)
   httpd="`$xs -q SBINDIR`/`$xs -q TARGET`"
-  if test "x$httpd" != "x"; then
+  if test "x$httpd" != "x" && test -f $httpd ; then
      v=`$httpd -v|$SED -n -e 's/.*Apache\/\.*//p'`
      case $v in
        1.3*)   [enable_apache_13]=yes

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



More information about the Pkg-shibboleth-devel mailing list