Removed the incorrect _sources_ conditional from ResetTargets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36518 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -107,8 +107,7 @@ CopyEngine::ResetTargets(const char* source)
|
||||
// makes sense, since passing a volume is meant to folders that are
|
||||
// volume specific, like "trash".
|
||||
BPath path(source);
|
||||
if ((path.Append("common/var") == B_OK)
|
||||
|| (path.Append("_sources_") == B_OK))
|
||||
if (path.Append("common/var") == B_OK)
|
||||
fVarDirectory.SetTo(path.Path());
|
||||
else
|
||||
fVarDirectory.Unset();
|
||||
|
||||
Reference in New Issue
Block a user