aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-11 10:00:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-11 10:00:01 +0000
commitd1f6a6ad13cbda9d3c395d4794e8ed9d6457c67f (patch)
tree16b493b18065f58fd2b50a332436f1731aa7ac12
parentb8548deceb1fc8e038b5b0385fa5ae1eedbe879b (diff)
downloadperl-URPM-d1f6a6ad13cbda9d3c395d4794e8ed9d6457c67f.tar
perl-URPM-d1f6a6ad13cbda9d3c395d4794e8ed9d6457c67f.tar.gz
perl-URPM-d1f6a6ad13cbda9d3c395d4794e8ed9d6457c67f.tar.bz2
perl-URPM-d1f6a6ad13cbda9d3c395d4794e8ed9d6457c67f.tar.xz
perl-URPM-d1f6a6ad13cbda9d3c395d4794e8ed9d6457c67f.zip
fix typo in previous commit :-/
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index f74e581..e03062d 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);