Author: jkupec Date: Thu Sep 18 12:38:45 2008 New Revision: 11092 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11092&view=rev Log: - delete the leading path from ?credentials param, if the path is not absolute Modified: trunk/libzypp/zypp/media/CredentialManager.cc Modified: trunk/libzypp/zypp/media/CredentialManager.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/media/CredentialManager.cc?rev=11092&r1=11091&r2=11092&view=diff ============================================================================== --- trunk/libzypp/zypp/media/CredentialManager.cc (original) +++ trunk/libzypp/zypp/media/CredentialManager.cc Thu Sep 18 12:38:45 2008 @@ -205,8 +205,8 @@ // get from that file credfile = file; else - // get from /etc/zypp/credentials.d - credfile = _options.customCredFileDir / file; + // get from /etc/zypp/credentials.d, delete the leading path + credfile = _options.customCredFileDir / file.basename(); CredentialFileReader(credfile, bind(&Impl::processCredentials, this, _1)); if (_credsTmp.empty()) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org