From a164826eef907c27c60936c01c72ff96005af9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Sat, 3 Nov 2012 17:23:11 -0300 Subject: Inform the upload size --- librerelease | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/librerelease b/librerelease index c4d97c1..efb698e 100755 --- a/librerelease +++ b/librerelease @@ -118,7 +118,7 @@ else exit 1 fi -# Make the permissions of the packages 644 otherwize the user will get access +# Make the permissions of the packages 644 otherwise the user will get access # denied error when they try to download (rsync --no-perms doesn't seem to # work). find ${WORKDIR}/staging -type f -exec chmod 644 {} \; @@ -127,6 +127,7 @@ find ${WORKDIR}/staging -type d -exec chmod 755 {} \; # Get the synced files SYNCED_FILES=($(find ${WORKDIR}/staging -type f)) +msg "%s to upload" $(du -h -d 0 ${WORKDIR}/staging | tr "\t" " " | cut -d" " -f1) msg "Uploading packages..." rsync --recursive \ ${dryrun} \ -- cgit v1.1-4-g5e80