travis-apidoc.sh: fix diff -I pattern for h2

`diff -I` appears to match the parentheses as-is.

It should not have been triggered for
https://travis-ci.org/awesomeWM/awesome/jobs/87792709#L3334.
This commit is contained in:
Daniel Hahler 2015-10-28 01:21:16 +01:00
parent 48a57055dc
commit b655b74cb9
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ git checkout -b merged-update
# Create a patch without irrelevant changes (version / timestamp). # Create a patch without irrelevant changes (version / timestamp).
diff -Nur . ../doc -I "Last updated" -I "<strong>Release</strong>:" \ diff -Nur . ../doc -I "Last updated" -I "<strong>Release</strong>:" \
-I "<h2>API documentation for awesome, a highly configurable X window manager \(version .*\)\.</h2>" \ -I "<h2>API documentation for awesome, a highly configurable X window manager (version .*)\.</h2>" \
-x .git | patch -p1 -x .git | patch -p1
git add --all . git add --all .