[arch-dev-public] [devtools] [PATCH] commitpkg: upload signature if found

Rémy Oudompheng remyoudompheng at gmail.com
Fri Apr 1 15:34:47 EDT 2011


On 2011/4/1 Dan McGee <dpmcgee at 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.


More information about the arch-dev-public mailing list