aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-11 10:00:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-11 10:00:35 +0000
commitb432478a1cdc2b41514eb4087f1536423aa5675c (patch)
treeb2b871b1789656addf8d11b0baa5d78abe012154 /URPM.xs
parentd1f6a6ad13cbda9d3c395d4794e8ed9d6457c67f (diff)
downloadperl-URPM-b432478a1cdc2b41514eb4087f1536423aa5675c.tar
perl-URPM-b432478a1cdc2b41514eb4087f1536423aa5675c.tar.gz
perl-URPM-b432478a1cdc2b41514eb4087f1536423aa5675c.tar.bz2
perl-URPM-b432478a1cdc2b41514eb4087f1536423aa5675c.tar.xz
perl-URPM-b432478a1cdc2b41514eb4087f1536423aa5675c.zip
fix typo in previous typo fix
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index e03062d..216fa90 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1433,7 +1433,7 @@ Pkg_is_arch_compat(pkg)
get_fullname_parts(pkg, NULL, NULL, NULL, &arch, &eos);
*eos = 0;
#ifdef RPM_448
- if (platform) platform = rpmExpand(arch, "-%{_real_vendor}-%{_target_os}%{?_gnu}", NULL);
+ if (!platform) platform = rpmExpand(arch, "-%{_real_vendor}-%{_target_os}%{?_gnu}", NULL);
RETVAL = rpmPlatformScore(platform, NULL, 0);
#else
RETVAL = rpmMachineScore(RPM_MACHTABLE_INSTARCH, arch);