Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.9.0
-
None
-
-
7e0c17eb3797977cdb6debddcbec43704d1fb7fc (qt-creator/qt-creator/4.9)
Description
Deploying a project to remote Linux machine using rsync fails with the message:
rsync: This rsync lacks old-style --compress due to its external zlib. Try -zz
I'm using Linux Mint 19.1. Rsync shows the version 3.1.2.
As a workaround, I have created a small shell script named "rsync" which modifies the arguments passed to rsync. Prepending the directory where this script lives to the PATH environment variable makes Qt execute the script instead the original rsync program.
The script looks like this:
#!/bin/bash
/usr/bin/rsync "$1" "$2" "${3//-avz/-avzz}" "$4" "$5"
Attachments
For Gerrit Dashboard: QTCREATORBUG-22352 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
259495,2 | RemoteLinux: Do not use rsync's -z option | 4.9 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
262735,2 | RemoteLinux: Let user specify the rsync flags | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |