Fix quoting issue on sed

This commit is contained in:
Tim Hockin 2015-07-08 16:53:20 -07:00
parent 32afe0ce7f
commit ec2dd1ecfb

View File

@ -95,8 +95,8 @@ echo "+++ Versioning documentation and examples"
DOCS_TO_EDIT=(docs/README.md examples/README.md)
for DOC in "${DOCS_TO_EDIT[@]}"; do
$SED -ri \
-e '/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d' \
-e "s/HEAD/${NEW_VERSION}/" \
-e "/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d" \
"${DOC}"
done