Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/150041

Change subject: operations-puppet-tabs now use perl regex
......................................................................

operations-puppet-tabs now use perl regex

Could not find how to match tab at start of line, but pcre knows how to
do it :-)

Change-Id: I81638b76409d235d06c131e700355fa61a8adf5d
---
M operations-puppet.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/41/150041/1

diff --git a/operations-puppet.yaml b/operations-puppet.yaml
index a3ac4ac..701521f 100644
--- a/operations-puppet.yaml
+++ b/operations-puppet.yaml
@@ -108,7 +108,7 @@
          #!/bin/bash -e
          echo "Looking for tabulations in puppet manifests..."
          set -x
-         (grep --recursive -e '^\t' --exclude-dir='.git' --include='*.pp' .) 
&& HAS_TAB=1 || HAS_TAB=0
+         (grep --recursive -P '^\t' --exclude-dir='.git' --include='*.pp' .) 
&& HAS_TAB=1 || HAS_TAB=0
          exit $HAS_TAB
 
 - project:

-- 
To view, visit https://gerrit.wikimedia.org/r/150041
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I81638b76409d235d06c131e700355fa61a8adf5d
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to