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

RemoteLinux: Don't assume the ln command understands "-v".


Some busyboxes don't have it.

Change-Id: I235673169a443665743c078c93622464cc2d005d
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent f1b52256
No related branches found
No related tags found
No related merge requests found
...@@ -227,7 +227,7 @@ void GenericDirectUploadService::handleMkdirFinished(int exitStatus) ...@@ -227,7 +227,7 @@ void GenericDirectUploadService::handleMkdirFinished(int exitStatus)
const QString remoteFilePath = df.remoteDir + QLatin1Char('/') + fi.fileName(); const QString remoteFilePath = df.remoteDir + QLatin1Char('/') + fi.fileName();
if (fi.isSymLink()) { if (fi.isSymLink()) {
const QString target = fi.dir().relativeFilePath(fi.symLinkTarget()); // see QTBUG-5817. const QString target = fi.dir().relativeFilePath(fi.symLinkTarget()); // see QTBUG-5817.
const QString command = QLatin1String("ln -vsf ") + target + QLatin1Char(' ') const QString command = QLatin1String("ln -sf ") + target + QLatin1Char(' ')
+ remoteFilePath; + remoteFilePath;
// See comment in SftpChannel::createLink as to why we can't use it. // See comment in SftpChannel::createLink as to why we can't use it.
......
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