From: Duncan Mac-Vicar P Date: Fri, 13 Aug 2010 12:28:22 +0000 (+0200) Subject: fix basearch variable X-Git-Tag: 8.1.2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3bbf77f4f8a3d927428440e855e7861dc4e74cde;p=platform%2Fupstream%2Flibzypp.git fix basearch variable --- diff --git a/zypp/repo/RepoVariables.cc b/zypp/repo/RepoVariables.cc index c93432c..2a28e35 100644 --- a/zypp/repo/RepoVariables.cc +++ b/zypp/repo/RepoVariables.cc @@ -42,7 +42,7 @@ std::string RepoVariablesStringReplacer::operator()( const std::string &value ) Arch::CompatSet cset( Arch::compatSet( sysarch ) ); if ( cset.size() > 2 ) // systemArchitecture, ..., basearch, noarch { - basearch = *(++++cset.rbegin()); + basearch = *(++cset.rbegin()); } newvalue = str::gsub( newvalue, "$basearch", basearch.asString() );