Commit 08a68bb4 authored by Dave Reisner's avatar Dave Reisner Committed by Pierre Schmitz
Browse files

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: default avatarDave Reisner <d@falconindy.com>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent 3bc5f6b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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