summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-02-10 11:57:22 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-02-10 11:57:22 -0300
commitbb7f637b5c5fe7df671d374d2b8547f2431bad82 (patch)
treea3d68ef1e0879195a677779abc2b02866be9e5da
parentfd73476296f589bb5fbf52be54764e46553aa41c (diff)
;)
-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 \