From 143213876150c05212250f8707144d5dc9c120df Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 20 Mar 2011 10:41:59 -0400 Subject: [PATCH] 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 --- commitpkg | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/commitpkg b/commitpkg index ab57a61..c5a750d 100755 --- a/commitpkg +++ b/commitpkg @@ -119,7 +119,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 -- 1.7.4.1