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
|
||||
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]}
|
||||
|
Loading…
Reference in New Issue
Block a user