mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-04 21:35:47 -04:00
[rt46602] Fix EXTRAPORT substitutions in copy_setport
Fix problems where all EXTRAPORT macros were being replaced by the EXTRAPORT1 value. (Copy and paste issue.)
This commit is contained in:
parent
cdf18a5009
commit
fb78f82ba1
1 changed files with 7 additions and 7 deletions
|
|
@ -251,13 +251,13 @@ nextpart () {
|
|||
copy_setports() {
|
||||
sed -e "s/@PORT@/${PORT}/g" \
|
||||
-e "s/@EXTRAPORT1@/${EXTRAPORT1}/g" \
|
||||
-e "s/@EXTRAPORT2@/${EXTRAPORT1}/g" \
|
||||
-e "s/@EXTRAPORT3@/${EXTRAPORT1}/g" \
|
||||
-e "s/@EXTRAPORT4@/${EXTRAPORT1}/g" \
|
||||
-e "s/@EXTRAPORT5@/${EXTRAPORT1}/g" \
|
||||
-e "s/@EXTRAPORT6@/${EXTRAPORT1}/g" \
|
||||
-e "s/@EXTRAPORT7@/${EXTRAPORT1}/g" \
|
||||
-e "s/@EXTRAPORT8@/${EXTRAPORT1}/g" \
|
||||
-e "s/@EXTRAPORT2@/${EXTRAPORT2}/g" \
|
||||
-e "s/@EXTRAPORT3@/${EXTRAPORT3}/g" \
|
||||
-e "s/@EXTRAPORT4@/${EXTRAPORT4}/g" \
|
||||
-e "s/@EXTRAPORT5@/${EXTRAPORT5}/g" \
|
||||
-e "s/@EXTRAPORT6@/${EXTRAPORT6}/g" \
|
||||
-e "s/@EXTRAPORT7@/${EXTRAPORT7}/g" \
|
||||
-e "s/@EXTRAPORT8@/${EXTRAPORT8}/g" \
|
||||
-e "s/@CONTROLPORT@/${CONTROLPORT}/g" $1 > $2
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue