Blame SOURCES/bz1223615-apache-includes-fix.patch.patch

261ad6
From 72482ca1e117f426378a700a8b1e01443e0fb597 Mon Sep 17 00:00:00 2001
261ad6
From: David Vossel <dvossel@redhat.com>
261ad6
Date: Thu, 25 Jun 2015 16:30:20 -0500
261ad6
Subject: [PATCH 3/3] bz1223615-apache-includes-fix.patch
261ad6
261ad6
---
261ad6
 heartbeat/apache-conf.sh | 4 +++-
261ad6
 1 file changed, 3 insertions(+), 1 deletion(-)
261ad6
261ad6
diff --git a/heartbeat/apache-conf.sh b/heartbeat/apache-conf.sh
261ad6
index dc3426f..a3c8930 100644
261ad6
--- a/heartbeat/apache-conf.sh
261ad6
+++ b/heartbeat/apache-conf.sh
261ad6
@@ -24,7 +24,9 @@ apachecat() {
261ad6
 	function procline() {
261ad6
 		split($0,a);
261ad6
 		if( a[1]~/^[Ii]nclude$/ ) {
261ad6
-			procinclude(a[2]);
261ad6
+			includedir=a[2];
261ad6
+			gsub("\"","",includedir);
261ad6
+			procinclude(includedir);
261ad6
 		} else {
261ad6
 			if( a[1]=="ServerRoot" ) {
261ad6
 				rootdir=a[2];
261ad6
-- 
261ad6
1.8.4.2
261ad6