Author: mlandres Date: Wed Oct 15 15:36:15 2008 New Revision: 11362 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11362&view=rev Log: Fix quoting of arguments passed in repo2solv.sh calls (bnc #420046) Modified: branches/SuSE-Linux-11_0-Branch/libzypp/VERSION.cmake branches/SuSE-Linux-11_0-Branch/libzypp/package/libzypp.changes branches/SuSE-Linux-11_0-Branch/libzypp/zypp/RepoManager.cc Modified: branches/SuSE-Linux-11_0-Branch/libzypp/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-11_0-Branch/libzypp/VERSION.cmake?rev=11362&r1=11361&r2=11362&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/libzypp/VERSION.cmake (original) +++ branches/SuSE-Linux-11_0-Branch/libzypp/VERSION.cmake Wed Oct 15 15:36:15 2008 @@ -47,4 +47,4 @@ SET(LIBZYPP_MAJOR "4") SET(LIBZYPP_MINOR "27") SET(LIBZYPP_COMPATMINOR "24") -SET(LIBZYPP_PATCH "2") +SET(LIBZYPP_PATCH "3") Modified: branches/SuSE-Linux-11_0-Branch/libzypp/package/libzypp.changes URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-11_0-Branch/libzypp/package/libzypp.changes?rev=11362&r1=11361&r2=11362&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/libzypp/package/libzypp.changes (original) +++ branches/SuSE-Linux-11_0-Branch/libzypp/package/libzypp.changes Wed Oct 15 15:36:15 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Oct 15 15:31:40 CEST 2008 - ma@suse.de + +- Fix quoting of arguments passed in repo2solv.sh calls (bnc #420046) +- revision 11362 +- version 4.27.3 + +------------------------------------------------------------------- Mon Oct 13 12:31:52 CEST 2008 - ma@suse.de - Fix package-manager script to properly quote arguments. Modified: branches/SuSE-Linux-11_0-Branch/libzypp/zypp/RepoManager.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-11_0-Branch/libzypp/zypp/RepoManager.cc?rev=11362&r1=11361&r2=11362&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/libzypp/zypp/RepoManager.cc (original) +++ branches/SuSE-Linux-11_0-Branch/libzypp/zypp/RepoManager.cc Wed Oct 15 15:36:15 2008 @@ -780,14 +780,14 @@ std::string toFile( str::gsub(solvfile.asString(),"\"","\\\"") ); if ( repokind.toEnum() == RepoType::RPMPLAINDIR_e ) { - cmd << str::form( "repo2solv.sh \"%s\" > \"%s\"", - str::gsub( info.baseUrlsBegin()->getPathName(),"\"","\\\"" ).c_str(), + cmd << str::form( "repo2solv.sh '%s' > '%s'", + info.baseUrlsBegin()->getPathName().c_str(), toFile.c_str() ); } else { - cmd << str::form( "repo2solv.sh \"%s\" > \"%s\"", - str::gsub( rawpath.asString(),"\"","\\\"" ).c_str(), + cmd << str::form( "repo2solv.sh '%s' > '%s'", + rawpath.asString().c_str(), toFile.c_str() ); } MIL << "Executing: " << cmd.str() << endl; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org