diff options
author | Dave Reisner <d@falconindy.com> | 2011-03-20 10:41:59 -0400 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-03-23 20:46:00 +0100 |
commit | 08a68bb4a02376905be136d3cafb14bc7cbc3098 (patch) | |
tree | d50a569bdea373faedf74bf855daed319573da89 | |
parent | 3bc5f6b5c97165ed8fa1fad2cf63acba61185a44 (diff) | |
download | devtools-08a68bb4a02376905be136d3cafb14bc7cbc3098.tar.xz |
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>
-rwxr-xr-x | commitpkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |