Skip to content

Commit

Permalink
Fix match evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoWilken authored and singiamtel committed Aug 29, 2024
1 parent c362489 commit f43ac2e
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 @@ -468,7 +468,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 f43ac2e

Please sign in to comment.