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

Some busyboxes don't have it.

Change-Id: I235673169a443665743c078c93622464cc2d005d
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Christian Kandeler
2012-05-16 16:48:01 +02:00
parent f1b52256cd
commit f3f9f30668

View File

@@ -227,7 +227,7 @@ void GenericDirectUploadService::handleMkdirFinished(int exitStatus)
const QString remoteFilePath = df.remoteDir + QLatin1Char('/') + fi.fileName();
if (fi.isSymLink()) {
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;
// See comment in SftpChannel::createLink as to why we can't use it.