diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-04-07 18:16:02 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-13 00:06:31 +0200 |
commit | 0220fe4f9d7f07fa137a11597b3465c76cfbcae3 (patch) | |
tree | e803758112d4dec1ed56929e517e88595616b3e7 /logic | |
parent | 58840ac10cc7aac866d61cbcece3c3b9be1af8b4 (diff) | |
download | MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar.gz MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar.lz MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar.xz MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.zip |
GH-228 do not follow symlinks during instance copy on unix
Windows will need a more complex solution.
Diffstat (limited to 'logic')
-rw-r--r-- | logic/InstanceList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/InstanceList.cpp b/logic/InstanceList.cpp index a65d9f56..4e295e7f 100644 --- a/logic/InstanceList.cpp +++ b/logic/InstanceList.cpp @@ -501,7 +501,7 @@ InstanceList::copyInstance(InstancePtr &newInstance, InstancePtr &oldInstance, c QDir rootDir(instDir); qDebug() << instDir.toUtf8(); - if (!copyPath(oldInstance->instanceRoot(), instDir)) + if (!copyPath(oldInstance->instanceRoot(), instDir, false)) { rootDir.removeRecursively(); return InstanceList::CantCreateDir; |