From 279fbe45431883032b7a247548db515a603b8465 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 29 Mar 2012 07:40:15 -0700 Subject: [PATCH] Add additional param mapping and eliminate syntax error in configure script Signed-off-by: Tom Eastep --- Shorewall-core/configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Shorewall-core/configure b/Shorewall-core/configure index c5368f425..5325f4016 100755 --- a/Shorewall-core/configure +++ b/Shorewall-core/configure @@ -53,9 +53,11 @@ fi for p in $@; do p=${p#--} + [ -n "${p}" ] && { pn=${p%=*} pv=${p#*=} + if [ -n ${pn} ]; then case ${pn} in VENDOR) @@ -67,10 +69,13 @@ for p in $@; do DATADIR) pn=SHAREDIR ;; + SYSCONFDIR) + pn=CONFDIR + ;; esac params[${pn}]="${pv}" - } + fi done vendor=${params[HOST]}