Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/286937
Change subject: Change typos job to use extended regexp
......................................................................
Change typos job to use extended regexp
Pass -E to grep so it recognizes /typos as containing extended regular
expressions.
pcre would be nicer (-P) but it is not compatible with --file.
Bug: T133047
Change-Id: I3da869669cd77d67c25259ab6e0900b494f9a546
---
M jjb/misc.yaml
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/integration/config
refs/changes/37/286937/1
diff --git a/jjb/misc.yaml b/jjb/misc.yaml
index 38799bd..404a2dd 100644
--- a/jjb/misc.yaml
+++ b/jjb/misc.yaml
@@ -309,7 +309,7 @@
# Ignore grep errors, we handle them manually
set +e
# -r does not follow symlinks
- (fgrep -r --color=always --file=typos --exclude=typos *)
+ (grep -E -r --color=always --file=typos --exclude=typos .)
ERR="$?"
set -e
--
To view, visit https://gerrit.wikimedia.org/r/286937
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3da869669cd77d67c25259ab6e0900b494f9a546
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits