1 Apr
2011
1 Apr
'11
7:34 p.m.
On 2011/4/1 Dan McGee <dpmcgee@gmail.com> wrote:
WTF- so now we've gone back to the original two-upload? What are we doing here?
rsync -e ssh $rsyncopts --partial "${pkgfile}" "${sigfile}" "$server:staging/$repo/"
will work just fine.
If you specify the empty string as a rsync argument, it will take it as the current directory. So you have to drop the quotes, and I don't really feel like dropping the quotes here. Also using multiple arguments will break the pretty printing which is caused by the "echo -n Uploading..." above. But pretty printing is a bad reason. I don't have a better idea right now. -- Rémy.