From 7a3550c903a1982b4fc0a4524148545ba5219acd Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Tue, 19 Oct 2010 07:44:35 +0200 Subject: commitpkg: pkgfile might be an absolute path when using PKGDEST --- commitpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commitpkg') diff --git a/commitpkg b/commitpkg index 86485dc..ab57a61 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 -- cgit v1.2.3-70-g09d2