summaryrefslogtreecommitdiff
path: root/librerelease
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-03 17:23:11 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-03 17:23:11 -0300
commita164826eef907c27c60936c01c72ff96005af9d8 (patch)
treee940165146f5996cb344815cf48b7da5a499fd78 /librerelease
parent9983b0c757834d61b9099a5953dec9d92330ac76 (diff)
Inform the upload size
Diffstat (limited to 'librerelease')
-rwxr-xr-xlibrerelease3
1 files changed, 2 insertions, 1 deletions
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} \