GH-228 do not follow symlinks during instance copy on unix
Windows will need a more complex solution.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user