Skip to content
Snippets Groups Projects
Commit c59766da authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Change installation prefix logic.


Specifying relative remote paths is problematic, since
they can easily be expanded locally. So we just prepend
the prefix to all paths.

Change-Id: I629ec49ed219440c70bf3ab75024e2cec2bd83a5
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
parent cf43cc43
No related branches found
No related tags found
No related merge requests found
...@@ -91,11 +91,8 @@ DeployableFilesPerProFile::DeployableFilesPerProFile(const Qt4ProFileNode *proFi ...@@ -91,11 +91,8 @@ DeployableFilesPerProFile::DeployableFilesPerProFile(const Qt4ProFileNode *proFi
d->deployables << DeployableFile(file, elem.path); d->deployables << DeployableFile(file, elem.path);
} }
for (int i = 0; i < d->deployables.count(); ++i) { for (int i = 0; i < d->deployables.count(); ++i)
QString &remoteDir = d->deployables[i].remoteDir; d->deployables[i].remoteDir.prepend(installPrefix + QLatin1Char('/'));
if (QFileInfo(remoteDir).isRelative())
remoteDir.prepend(installPrefix + QLatin1Char('/'));
}
} }
DeployableFilesPerProFile::~DeployableFilesPerProFile() DeployableFilesPerProFile::~DeployableFilesPerProFile()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment