diff options
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index b06cca5f57..8609e75354 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -418,9 +418,9 @@ python package_get_auto_pr() { return d.setVar('PRAUTO',str(auto_pr)) else: - pv = d.getVar("PV", True) - if 'AUTOINC' in pv: - d.setVar("PKGV", pv.replace("AUTOINC", "0")) + pkgv = d.getVar("PKGV", True) + if 'AUTOINC' in pkgv: + d.setVar("PKGV", pkgv.replace("AUTOINC", "0")) } LOCALEBASEPN ??= "${PN}" |