From 2c508e5206b3eba9483b489298f7e484e020bbaa Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Thu, 13 Apr 2017 03:03:38 -0700 Subject: [PATCH] fix edge case apache conf parsing --- apache-site | 21 +++++++++++++++++---- nginx-site | 2 +- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/apache-site b/apache-site index 2405713..8d26f99 100755 --- a/apache-site +++ b/apache-site @@ -18,6 +18,8 @@ set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR +shopt -s nullglob # used in apache config file expansion + usage() { cat <>$vhost_file <>$vhost_file <