summaryrefslogtreecommitdiff
path: root/src/FileEntry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileEntry.cc')
-rw-r--r--src/FileEntry.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FileEntry.cc b/src/FileEntry.cc
index c10ea022..96f68c5e 100644
--- a/src/FileEntry.cc
+++ b/src/FileEntry.cc
@@ -47,9 +47,9 @@ FileEntry::FileEntry(const std::string& path,
FileEntry::~FileEntry() {}
-void FileEntry::setupDir(const std::string& parentDir)
+void FileEntry::setupDir()
{
- Util::mkdirs(File(parentDir+"/"+path).getDirname());
+ Util::mkdirs(File(path).getDirname());
}
FileEntry& FileEntry::operator=(const FileEntry& entry)