Use opcode "auto" for build zephyrs
[invirt/packages/invirt-dev.git] / python / invirt / builder.py
index 1a736bd..f864feb 100644 (file)
@@ -153,7 +153,7 @@ def validateBuild(pocket, package, commit):
             continue
 
         current_version = getVersion(package, b)
-        current_distro = pocketToDistro(pocket)
+        current_distro = pocketToDistro(p)
 
         # NB: Neither current_version nor new_version will have the
         # distro-specific prefix.