[geocode-glib] tests: Check for httpd on Fedora
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] tests: Check for httpd on Fedora
- Date: Tue, 12 Feb 2013 09:02:33 +0000 (UTC)
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]