summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/librerelease
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-30 17:04:48 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-30 17:04:48 -0400
commitb0e8fd7096b986a40a59d7cf104c04fd40e185df (patch)
tree72364ab0d7e6b057f38db1c5ecc1c93730a6f2a1 /src/abslibre-tools/librerelease
parent1e16e59a861c8359dffe0af5b8dd4d2922f4018e (diff)
librerelease: fix upload size total
Diffstat (limited to 'src/abslibre-tools/librerelease')
-rwxr-xr-xsrc/abslibre-tools/librerelease2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index a204054..cdc5536 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -222,7 +222,7 @@ release_packages() {
lock_close 10
- msg "%s to upload" "$(du -hc --files0-from="$file_list" | sed -n '$s/\t.*//p')"
+ msg "%s to upload" "$(cd "${WORKDIR}/staging" && du -hc --files0-from="$file_list" | sed -n '$s/\t.*//p')"
msg "Uploading packages..."
xargs -0 -a "$file_list" dirname -z | ssh ${REPODEST%%:*} "$(printf 'mkdir -p -- %q && cd %q && xargs -0 mkdir -pv --' "${REPODEST#*:}" "${REPODEST#*:}")"
if ! rsync ${dryrun} "${rsync_flags[@]}" \