summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2017-01-13 11:58:05 +0100
committerPierre-Yves Chibon <pingou@pingoured.fr>2017-01-13 11:58:05 +0100
commit7f0f327c3d7b78ce005d6abb4899aafce3c7819e (patch)
treedf14d2448d31b6a52fbf95e968034bd7878819b4
parenteb24f46b26cf797d8bfc100f17ee19d3ebbc2055 (diff)
downloadansible-7f0f327c3d7b78ce005d6abb4899aafce3c7819e.tar.gz
ansible-7f0f327c3d7b78ce005d6abb4899aafce3c7819e.tar.xz
ansible-7f0f327c3d7b78ce005d6abb4899aafce3c7819e.zip
Fix the ExcludeArch pattern and add two more
-rwxr-xr-xroles/git/hooks/files/post-receive-alternativearch2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/git/hooks/files/post-receive-alternativearch b/roles/git/hooks/files/post-receive-alternativearch
index e2fd8729e..15706f396 100755
--- a/roles/git/hooks/files/post-receive-alternativearch
+++ b/roles/git/hooks/files/post-receive-alternativearch
@@ -17,7 +17,7 @@ import sys
from email.mime.text import MIMEText
abspath = os.path.abspath(os.environ['GIT_DIR'])
-PATTERNS = ('+ExclusiveArch:', '+ExcludesArch:')
+PATTERNS = ('+ExclusiveArch:', '+ExcludeArch:', '+ifarch', '+ifnarch')
FROM_EMAIL = 'githook-noreply@fedoraproject.org'
TO_MAIL = 'arch-excludes@lists.fedoraproject.org'
CGIT_URL = 'http://pkgs.fedoraproject.org/cgit/%s/commit/?id=%s'