Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/commitpkg
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-20 10:41:59 -0400
committerPierre Schmitz <pierre@archlinux.de>2011-03-23 20:46:00 +0100
commit08a68bb4a02376905be136d3cafb14bc7cbc3098 (patch)
treed50a569bdea373faedf74bf855daed319573da89 /commitpkg
parent3bc5f6b5c97165ed8fa1fad2cf63acba61185a44 (diff)
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 <d@falconindy.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'commitpkg')
-rwxr-xr-xcommitpkg2
1 files changed, 1 insertions, 1 deletions
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