Github user james-sirota commented on a diff in the pull request: https://github.com/apache/incubator-metron/pull/429#discussion_r98728815 --- Diff: site-book/bin/generate-md.sh --- @@ -190,7 +190,13 @@ cd site-book/src/site/markdown # Rewrite hrefs for resource references, using table provided by Maintainers for (( i=0; i<${#HREF_REWRITE_LIST[@]} ; i+=2 )) ; do echo rewriting href in "${HREF_REWRITE_LIST[$i]}" : "${HREF_REWRITE_LIST[ $(( i + 1 )) ]}" - sed -i '' -e "${HREF_REWRITE_LIST[ $(( i + 1 )) ]}" "${HREF_REWRITE_LIST[$i]}" + if [[ "$OSTYPE" =~ "darwin" ]] ; then + # Macs need an argument after -i option + sed -i '' -e "${HREF_REWRITE_LIST[ $(( i + 1 )) ]}" "${HREF_REWRITE_LIST[$i]}" + else --- End diff -- Is the path of least resistance here just to provide a docker container with the right version of awk?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---