Repository: bigtop Updated Branches: refs/heads/master b25eab6a5 -> 11f0f905c
BIGTOP-1801. Generalize subst pattern matching for BOM file Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/a2a05fc4 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/a2a05fc4 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/a2a05fc4 Branch: refs/heads/master Commit: a2a05fc4126ee7b788d7bd558207cef369995cf1 Parents: b25eab6 Author: Konstantin Boudnik <[email protected]> Authored: Mon Apr 6 12:24:40 2015 -0700 Committer: Konstantin Boudnik <[email protected]> Committed: Mon Apr 6 12:24:40 2015 -0700 ---------------------------------------------------------------------- buildSrc/src/main/groovy/org/apache/bigtop/BuildUtils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/a2a05fc4/buildSrc/src/main/groovy/org/apache/bigtop/BuildUtils.groovy ---------------------------------------------------------------------- diff --git a/buildSrc/src/main/groovy/org/apache/bigtop/BuildUtils.groovy b/buildSrc/src/main/groovy/org/apache/bigtop/BuildUtils.groovy index a4b99d0..11c6a48 100644 --- a/buildSrc/src/main/groovy/org/apache/bigtop/BuildUtils.groovy +++ b/buildSrc/src/main/groovy/org/apache/bigtop/BuildUtils.groovy @@ -25,7 +25,7 @@ class BuildUtils { if (eval.contains("\$(subst")) { // Extracting name of the var from something like // $(subst -,.,$(BIGTOP_VERSION)) - def pattern = ~ /.*\$\(subst (-.*),(.*),\$\((\w+[-]?\w+?)\)\)/ + def pattern = ~ /.*\$\(subst (.*),(.*),\$\((\w+[-]?\w+?)\)\)/ def m = eval =~ pattern def token = "" if (m.matches()) {
