diff --git a/Makefile b/Makefile index 573d22e..bca28dc 100644 --- a/Makefile +++ b/Makefile @@ -307,7 +307,7 @@ trackchange: # Fix links in www directory fix_links: - @find ./www -type f -name "*.html|robots.txt|sitemap.xml" -exec sed -i.bak \ + @find ./www -type f \( -name "*.html" -o -name "robots.txt" -o -name "sitemap.xml" \) -exec sed -i.bak \ -e "s/{{< var branch >}}/$(branchname)/g" \ -e "s/{{< var branch >}}/$(branchname)/g" \ -e "s/{{< var pubtype >}}/$(pubtype)/g" \