commit:     2f84a3644dfc168e5274d9e09e93365f8371880d
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  5 22:41:54 2023 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Aug  5 22:41:54 2023 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=2f84a364

Fix precise rsync syntax

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 tools/catalyst-auto | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index e83938fc..95094af6 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -317,8 +317,9 @@ upsync_binpackages() {
                        --delete-after
                        --omit-dir-times
                        --delay-updates
+                       --mkpath
                )
-               rsync "${RSYNC_OPTS[@]}" "$1" 
"${UPLOAD_USER}@releng-incoming.gentoo.org:/release/weekly/binpackages/$2"
+               rsync "${RSYNC_OPTS[@]}" "$1"/* 
"${UPLOAD_USER}@releng-incoming.gentoo.org:/release/weekly/binpackages/$2/"
        else
                echo Would now upsync binpackages from $1 to $2
                ls -l $@

Reply via email to