ref: refs/heads/SuSE-Code-11-Branch
commit d26544034f6bfc03fecf1c7fde754ac5d183f590
Author: Michael Andres
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@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org