[EDGENT-327] Improve regex expressions in build.sh
Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/commit/e9dfca50 Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/tree/e9dfca50 Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/diff/e9dfca50 Branch: refs/heads/master Commit: e9dfca502948919c4bed99a1bcf599af09b4b0be Parents: dc48549 Author: Queenie Ma <queeniema.apa...@gmail.com> Authored: Mon Jan 9 16:22:37 2017 -0800 Committer: Queenie Ma <queeniema.apa...@gmail.com> Committed: Mon Jan 9 16:22:37 2017 -0800 ---------------------------------------------------------------------- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/e9dfca50/build.sh ---------------------------------------------------------------------- diff --git a/build.sh b/build.sh index eaefe98..b494149 100644 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ set -e cd site jekyll build -d ../content_tmp # Remove dangling references to the DejaVu fonts in the Javadoc stylesheets -sed -i "" "/^@import/d; s/'DejaVu Sans',//g; s/'DejaVu Sans Mono',//g; s/'DejaVu Serif',//g" ../content_tmp/javadoc/*/stylesheet.css +sed -i "" "/^@import.*dejavu.css/d; s/'DejaVu[^']*',//g" ../content_tmp/javadoc/*/stylesheet.css COMMIT_HASH=`git rev-parse HEAD` cd .. git checkout asf-site