Author: jreidinger Date: Fri May 9 16:11:28 2008 New Revision: 10019 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10019&view=rev Log: fix writing files outside specified root (bnc#388265) Modified: trunk/zypper/src/zypper.cc Modified: trunk/zypper/src/zypper.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper.cc?rev=10019&am... ============================================================================== --- trunk/zypper/src/zypper.cc (original) +++ trunk/zypper/src/zypper.cc Fri May 9 16:11:28 2008 @@ -416,12 +416,7 @@ } DBG << "root dir = " << _gopts.root_dir << endl; - _gopts.rm_options.knownReposPath = _gopts.root_dir - + _gopts.rm_options.knownReposPath; - _gopts.rm_options.repoCachePath = _gopts.root_dir - + _gopts.rm_options.repoCachePath; - _gopts.rm_options.repoRawCachePath = _gopts.root_dir - + _gopts.rm_options.repoRawCachePath; + _gopts.rm_options = RepoManagerOptions(_gopts.root_dir); } if ((it = gopts.find("reposd-dir")) != gopts.end()) { -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org