diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-01-15 20:47:04 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-04-09 13:05:55 +0200 |
commit | cbb9ccfd657b63cd30f6985656718fe36ab3aad3 (patch) | |
tree | 3a6736c584e1b800da23ab84d63227508fb2b65d | |
parent | postrecv-bugs: Limit arch magic to keywording/stabilization components (diff) | |
download | githooks-cbb9ccfd657b63cd30f6985656718fe36ab3aad3.tar.gz githooks-cbb9ccfd657b63cd30f6985656718fe36ab3aad3.tar.bz2 githooks-cbb9ccfd657b63cd30f6985656718fe36ab3aad3.zip |
postrecv-bugs: Do keyword splitting on any non-alnum
-rwxr-xr-x | local/postrecv-bugs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/local/postrecv-bugs b/local/postrecv-bugs index d741a83..9adf112 100755 --- a/local/postrecv-bugs +++ b/local/postrecv-bugs @@ -51,7 +51,7 @@ while read -r oldrev newrev refname; do # try to detect arch team work *[sS]table*|*[sS]tabilize*|*[kK]eyword*) # recognize common foo/bar/baz form - split_msg=( ${l//// } ) + split_msg=( ${l//[^a-zA-Z0-9]/ } ) for arch in "${ALL_ARCHES[@]}"; do for word in "${split_msg[@]}"; do if [[ ${word} == ${arch} || ${word} == ALLARCHES ]]; then |