mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-25 09:03:30 +01:00
Correct syntax error in configure
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
74ca7b5269
commit
8a695b4073
41
Shorewall-core/configure
vendored
41
Shorewall-core/configure
vendored
@ -52,29 +52,30 @@ if [ $# -eq 0 ]; then
|
||||
fi
|
||||
|
||||
for p in $@; do
|
||||
p=${p#--}
|
||||
p=${p#--}
|
||||
|
||||
if [ -n "${p}" ]; then
|
||||
pn=${p%=*}
|
||||
pv=${p#*=}
|
||||
if [ -n "${p}" ]; then
|
||||
pn=${p%=*}
|
||||
pv=${p#*=}
|
||||
|
||||
if [ -n "${pn}" ]; then
|
||||
case ${pn} in
|
||||
VENDOR)
|
||||
pn=HOST
|
||||
;;
|
||||
SHAREDSTATEDIR)
|
||||
pn=VARDIR
|
||||
;;
|
||||
DATADIR)
|
||||
pn=SHAREDIR
|
||||
;;
|
||||
SYSCONFDIR)
|
||||
pn=CONFDIR
|
||||
;;
|
||||
esac
|
||||
if [ -n "${pn}" ]; then
|
||||
case ${pn} in
|
||||
VENDOR)
|
||||
pn=HOST
|
||||
;;
|
||||
SHAREDSTATEDIR)
|
||||
pn=VARDIR
|
||||
;;
|
||||
DATADIR)
|
||||
pn=SHAREDIR
|
||||
;;
|
||||
SYSCONFDIR)
|
||||
pn=CONFDIR
|
||||
;;
|
||||
esac
|
||||
|
||||
params[${pn}]="${pv}"
|
||||
params[${pn}]="${pv}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user