diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-30 17:04:48 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-30 17:04:48 -0400 |
commit | b0e8fd7096b986a40a59d7cf104c04fd40e185df (patch) | |
tree | 72364ab0d7e6b057f38db1c5ecc1c93730a6f2a1 | |
parent | 1e16e59a861c8359dffe0af5b8dd4d2922f4018e (diff) |
librerelease: fix upload size total
-rwxr-xr-x | src/abslibre-tools/librerelease | 2 |
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[@]}" \ |