Fix sed -i flag usage
We don't need to create any backup with e SUFFIX so let's just remove -e flag since: the first non-option argument is taken as the sed script to interpret Change-Id: I69d658254ebe75b07c818e8aa6fb405ff33db549 Closes-bug: #1553154
This commit is contained in:
parent
c4cf64e977
commit
9f816d2a36
|
@ -266,7 +266,7 @@ fi
|
|||
|
||||
if [[ "${OLD_ADMIN_INTERFACE}" != "${ADMIN_INTERFACE}" ]]; then
|
||||
echo "Saving ADMIN_INTERFACE value"
|
||||
sed -ie "s/^ADMIN_INTERFACE=.*/ADMIN_INTERFACE=${ADMIN_INTERFACE}/g" \
|
||||
sed -i "s/^ADMIN_INTERFACE=.*/ADMIN_INTERFACE=${ADMIN_INTERFACE}/g" \
|
||||
${BOOTSTRAP_NODE_CONFIG}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue