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
|
// makes sense, since passing a volume is meant to folders that are
|
||||||
// volume specific, like "trash".
|
// volume specific, like "trash".
|
||||||
BPath path(source);
|
BPath path(source);
|
||||||
if ((path.Append("common/var") == B_OK)
|
if (path.Append("common/var") == B_OK)
|
||||||
|| (path.Append("_sources_") == B_OK))
|
|
||||||
fVarDirectory.SetTo(path.Path());
|
fVarDirectory.SetTo(path.Path());
|
||||||
else
|
else
|
||||||
fVarDirectory.Unset();
|
fVarDirectory.Unset();
|
||||||
|
|||||||
Reference in New Issue
Block a user