Commit e099a7f0 authored by Tim Hockin's avatar Tim Hockin

Fix quoting issue on sed

parent dd378f14
...@@ -95,8 +95,8 @@ echo "+++ Versioning documentation and examples" ...@@ -95,8 +95,8 @@ echo "+++ Versioning documentation and examples"
DOCS_TO_EDIT=(docs/README.md examples/README.md) DOCS_TO_EDIT=(docs/README.md examples/README.md)
for DOC in "${DOCS_TO_EDIT[@]}"; do for DOC in "${DOCS_TO_EDIT[@]}"; do
$SED -ri \ $SED -ri \
-e '/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d' \
-e "s/HEAD/${NEW_VERSION}/" \ -e "s/HEAD/${NEW_VERSION}/" \
-e "/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d" \
"${DOC}" "${DOC}"
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment