[geocode-glib] tests: Check for httpd on Fedora



commit 0e4d0aa0920a0ddeaea411554c0184df5dd94ea1
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Feb 12 09:25:35 2013 +0100

    tests: Check for httpd on Fedora

 .../geocode-ip-server/tests/launch-web-server.sh   |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/geocode-glib/geocode-ip-server/tests/launch-web-server.sh b/geocode-glib/geocode-ip-server/tests/launch-web-server.sh
index c675d80..9987bd3 100755
--- a/geocode-glib/geocode-ip-server/tests/launch-web-server.sh
+++ b/geocode-glib/geocode-ip-server/tests/launch-web-server.sh
@@ -16,6 +16,8 @@ exit 1
 
 # Find Apache first
 
+if [ -x /usr/sbin/httpd ] ; then APACHE_HTTPD=/usr/sbin/httpd; fi
+
 HTTPD=${APACHE_HTTPD:-/usr/sbin/apache2}
 
 if [ -z $HTTPD ] ; then


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]