From 9f1425e2f49a08243340c465c1eab9cb72cf5ba2 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Sun, 1 Dec 2013 07:16:23 -0500 Subject: [PATCH] Use rsync instead of scp for uploading hakiu repository packages. --- build/scripts/upload_haiku_repository | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/upload_haiku_repository b/build/scripts/upload_haiku_repository index 97bceb33e7..727a6a3acc 100755 --- a/build/scripts/upload_haiku_repository +++ b/build/scripts/upload_haiku_repository @@ -23,7 +23,7 @@ version=${fileName#*-} version=${version%%-*} # upload the repo -scp -r "$repositoryDir/*" "$sshUserName@$sshServer:$sshDestPath/$arch/$version/" +rsync -rutlv -e ssh "$repositoryDir/" "$sshUserName@$sshServer:$sshDestPath/$arch/$version/" ssh "$sshUserName@$sshServer" "chmod -R 755 $sshDestPath/$arch/$version" sshSymlinkCommand="ln -sfT $version $sshDestPath/$arch/current" ssh "$sshUserName@$sshServer" "$sshSymlinkCommand"