phase1: actually make rsync -4 configurable
authorThibaut VARÈNE <hacks@slashdirt.org>
Mon, 15 May 2023 20:08:50 +0000 (22:08 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 16 May 2023 14:52:33 +0000 (16:52 +0200)
commit7cd3f1292e86aa9316f6df78e36700bd3e3cbb6c
tree79fa2edf74fa8851c240d0f0cd7b4c9c5cff39ad
parent1da8a2c92e05c038b00eb268f8679b407305a72b
phase1: actually make rsync -4 configurable

54e80d5ce introduced an interpolate bug that would evaluate an empty
string as being part of the arguments passed to rsync, resulting in a
failure as rsync interprets that empty string as a source.

This commit fixes this by instead appending '4' to regular shortopts
when necessary.

Fixes: 54e80d5ce
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
phase1/master.cfg