Fix quoting issue on sed

pull/6/head
Tim Hockin 2015-07-08 16:53:20 -07:00
parent dd378f148b
commit e099a7f0e0
1 changed files with 1 additions and 1 deletions

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