summaryrefslogtreecommitdiffstats
path: root/commitpkg
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-10-19 07:44:35 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-10-19 07:44:35 +0200
commit7a3550c903a1982b4fc0a4524148545ba5219acd (patch)
tree0f42a7f56b0ab43a57faaa8b1bd9c3f5dfc3de2a /commitpkg
parentc290215aa60ba7633051641e47c631d353d1699e (diff)
downloaddevtools-7a3550c903a1982b4fc0a4524148545ba5219acd.tar.gz
devtools-7a3550c903a1982b4fc0a4524148545ba5219acd.tar.xz
commitpkg: pkgfile might be an absolute path when using PKGDEST
Diffstat (limited to 'commitpkg')
-rwxr-xr-xcommitpkg2
1 files changed, 1 insertions, 1 deletions
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