Mailinglist Archive: zypp-commit (233 mails)

< Previous Next >
[zypp-commit] <libzypp> SuSE-Code-11-Branch : fix to compile
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 16 Nov 2009 17:22:57 +0100
  • Message-id: <E1NA4M1-0003vf-5m@xxxxxxxxxxxxxxxx>
ref: refs/heads/SuSE-Code-11-Branch
commit d26544034f6bfc03fecf1c7fde754ac5d183f590
Author: Michael Andres <ma@xxxxxxx>
Date: Mon Nov 16 17:22:57 2009 +0100

fix to compile
---
zypp/RepoManager.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/zypp/RepoManager.cc b/zypp/RepoManager.cc
index e0a953d..8cf2e1a 100644
--- a/zypp/RepoManager.cc
+++ b/zypp/RepoManager.cc
@@ -955,10 +955,10 @@ namespace zypp
// ok we have the metadata, now exchange
// the contents

- filesystem::TmpDir oldmetadata( filesystem::TmpDir::makeSibling(
rawpath ) );
- filesystem::rename( rawpath, oldmetadata.path() );
+ filesystem::TmpDir oldmetadata( filesystem::TmpDir::makeSibling(
mediarootpath ) );
+ filesystem::rename( mediarootpath, oldmetadata.path() );
// move the just downloaded there
- filesystem::rename( tmpdir.path(), rawpath );
+ filesystem::rename( tmpdir.path(), mediarootpath );

// we are done.
return;
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages