summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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