Commit 8be7a5a9 authored by Ben Cooksley's avatar Ben Cooksley

Check the right platform name for appstream compliance checks

parent 68c73af7
......@@ -20,7 +20,7 @@ buildEnvironment = EnvironmentHandler.generateFor( installPrefix=arguments.using
# If we aren't running on Linux, or if Appstream Check's have been disabled for this build, bail
# Appstream isn't relevant outside Linux, so even if the tooling was available (probably not) there is little point running the checks there
if sys.platform != "linux2" or not buildSpecification['do-appstream-check']:
if sys.platform != "linux" or not buildSpecification['do-appstream-check']:
# Bail!
sys.exit(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment