From: Alexis Christoforides Date: Mon, 31 Oct 2016 17:29:35 +0000 (-0400) Subject: [bockbuild] Fix regex matching on a deploy-time sanity check on the Mono package X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=ff641b00633299cce6d2ab0e864bfd80164b7134 [bockbuild] Fix regex matching on a deploy-time sanity check on the Mono package --- diff --git a/bockbuild/MacSDK/mono.py b/bockbuild/MacSDK/mono.py index 9fe649130f2..19d4572a998 100644 --- a/bockbuild/MacSDK/mono.py +++ b/bockbuild/MacSDK/mono.py @@ -108,7 +108,7 @@ class MonoMasterPackage(Package): trace(token) trace(self.package_prefix) - if self.package_prefix not in match: + if self.package_prefix not in token: error("%s references Mono %s\n%s" % ('mcs', match, text)) MonoMasterPackage()