summaryrefslogtreecommitdiff
path: root/librerelease
diff options
context:
space:
mode:
Diffstat (limited to 'librerelease')
-rwxr-xr-xlibrerelease6
1 files changed, 2 insertions, 4 deletions
diff --git a/librerelease b/librerelease
index e1bf210..bac5b88 100755
--- a/librerelease
+++ b/librerelease
@@ -123,10 +123,8 @@ fi
# Make the permissions of the packages 644 otherwize the user will get access
# denied error when they try to download (rsync --no-perms doesn't seem to
# work).
-for file in ${WORKDIR}/staging/*
-do
- chmod 644 "${file}" # Now you will never access deny me again! HAHAHAHAHAHA!
-done
+find ${WORKDIR}/staging -type f -exec chmod 644 {} \;
+find ${WORKDIR}/staging -type d -exec chmod 755 {} \;
msg "Uploading packages..."
rsync --recursive \