[bockbuild] Fix regex matching on a deploy-time sanity check on the Mono package
authorAlexis Christoforides <alexis@thenull.net>
Mon, 31 Oct 2016 17:29:35 +0000 (13:29 -0400)
committerAlexis Christoforides <alexis@thenull.net>
Mon, 31 Oct 2016 17:29:35 +0000 (13:29 -0400)
bockbuild/MacSDK/mono.py

index 9fe649130f2a037773445b3b19c4bc54b9623c40..19d4572a99839b1c5fa153cb4e23283e654fb560 100644 (file)
@@ -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()