mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 03:59:16 +01:00
Add additional param mapping and eliminate syntax error in configure script
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
2d841269ee
commit
279fbe4543
7
Shorewall-core/configure
vendored
7
Shorewall-core/configure
vendored
@ -53,9 +53,11 @@ fi
|
|||||||
|
|
||||||
for p in $@; do
|
for p in $@; do
|
||||||
p=${p#--}
|
p=${p#--}
|
||||||
|
|
||||||
[ -n "${p}" ] && {
|
[ -n "${p}" ] && {
|
||||||
pn=${p%=*}
|
pn=${p%=*}
|
||||||
pv=${p#*=}
|
pv=${p#*=}
|
||||||
|
|
||||||
if [ -n ${pn} ]; then
|
if [ -n ${pn} ]; then
|
||||||
case ${pn} in
|
case ${pn} in
|
||||||
VENDOR)
|
VENDOR)
|
||||||
@ -67,10 +69,13 @@ for p in $@; do
|
|||||||
DATADIR)
|
DATADIR)
|
||||||
pn=SHAREDIR
|
pn=SHAREDIR
|
||||||
;;
|
;;
|
||||||
|
SYSCONFDIR)
|
||||||
|
pn=CONFDIR
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
params[${pn}]="${pv}"
|
params[${pn}]="${pv}"
|
||||||
}
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
vendor=${params[HOST]}
|
vendor=${params[HOST]}
|
||||||
|
Loading…
Reference in New Issue
Block a user