Skip to content

Commit

Permalink
Merge "When vrouter-functions.sh evaluates the key/values from agent …
Browse files Browse the repository at this point in the history
…conf Extra space in values may give error when values are initialized using eval command; so remove extra spaces." into R3.2
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Mar 13, 2017
2 parents 9f324f3 + edd58f0 commit bff3a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/control_files/vrouter-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ _dpdk_conf_read() {
exit 1
fi

eval `cat ${AGENT_CONF} | grep '^[a-zA-Z]'`
eval `cat ${AGENT_CONF} | grep '^[a-zA-Z]' | sed 's/[[:space:]]//g'`

AGENT_PLATFORM="${platform}"
DPDK_PHY="${physical_interface}"
Expand Down

0 comments on commit bff3a0b

Please sign in to comment.