Skip to content

Commit

Permalink
Fix match evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoWilken authored May 31, 2022
1 parent a5d4c1f commit 52b7718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alibuild_helpers/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def getPackageList(packages, specs, configDir, preferSystem, noSystem,
architectureREMatches = re.match(architectureRE, architecture)
except:
dieOnError(True, "Malformed entry architecture: %s in %s" % (architecture, spec["package"]))
if architectureREMatches == "False":
if not architectureREMatches:
disable.append(spec["package"])

# If --always-prefer-system is passed or if prefer_system is set to true
Expand Down

0 comments on commit 52b7718

Please sign in to comment.