From 08a68bb4a02376905be136d3cafb14bc7cbc3098 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 20 Mar 2011 10:41:59 -0400 Subject: commitpkg: prefix package filenames with ./ This is a hint to rsync that the file is a path and not a remote module in the case of a package with an epoch in the version. Signed-off-by: Dave Reisner Signed-off-by: Pierre Schmitz --- commitpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commitpkg b/commitpkg index 95a9381..7ad1433 100755 --- a/commitpkg +++ b/commitpkg @@ -133,7 +133,7 @@ for _arch in ${arch[@]}; do fi echo -n 'uploading ' - rsync -p --chmod 'ug=rw,o=r' -c -h -L --progress $rsyncopts --partial "${pkgfile}" -e ssh "$server:staging/$repo/${pkgfile##*/}" || abort + rsync -p --chmod 'ug=rw,o=r' -c -h -L --progress $rsyncopts --partial "./${pkgfile}" -e ssh "$server:staging/$repo/${pkgfile##*/}" || abort done archrelease $repo-${_arch} || abort done -- cgit v1.2.3-54-g00ecf