diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-09 03:31:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-09 03:31:42 +0300 |
commit | 612873fa462d74a31bdd3977dac7919376038275 (patch) | |
tree | 86c7ce3cb5a0d334bcba5d463846a88e03a8669e /src/dyetool/dyemain.cpp | |
parent | 8470d3c82d84a6bd7767de6763153aa9cdfb991b (diff) | |
download | plus-612873fa462d74a31bdd3977dac7919376038275.tar.gz plus-612873fa462d74a31bdd3977dac7919376038275.tar.bz2 plus-612873fa462d74a31bdd3977dac7919376038275.tar.xz plus-612873fa462d74a31bdd3977dac7919376038275.zip |
Simplify add/remove dirs and zips methods in virtfs.
Diffstat (limited to 'src/dyetool/dyemain.cpp')
-rw-r--r-- | src/dyetool/dyemain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dyetool/dyemain.cpp b/src/dyetool/dyemain.cpp index e36bf8547..a9af12510 100644 --- a/src/dyetool/dyemain.cpp +++ b/src/dyetool/dyemain.cpp @@ -89,8 +89,8 @@ int main(int argc, char **argv) ResourceManager::init(); VirtFs::setWriteDir("."); - VirtFs::addDirToSearchPath(".", Append_false); - VirtFs::addDirToSearchPath("/", Append_false); + VirtFs::mountDir(".", Append_false); + VirtFs::mountDir("/", Append_false); std::string src = argv[1]; std::string dst; if (argc == 4) |