* lrde-upload.sh: Here.
---
ChangeLog | 6 ++++++
lrde-upload.sh | 10 ++++++----
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 534624a..c06a0ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-29 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Fix read permissions on uploaded PDF files.
+
+ * lrde-upload.sh: Here.
+
2010-04-27 Roland Levillain <roland(a)lrde.epita.fr>
Improve lrde-upload.sh.
diff --git a/lrde-upload.sh b/lrde-upload.sh
index e2481d9..80244e8 100755
--- a/lrde-upload.sh
+++ b/lrde-upload.sh
@@ -36,10 +36,12 @@ chmod -R a+r $DEST/olena-$REV.tar.bz2
# Upload a copy of the reference manual and other documentation.
mkdir -p $DEST_DOC
-cp milena/doc/ref-guide.pdf $DEST_DOC
-cp milena/doc/tutorial.pdf $DEST_DOC
-cp milena/doc/user-refman.pdf $DEST_DOC
-cp milena/doc/white-paper.pdf $DEST_DOC
+# BuildBots' buildslaves set umask to 077 in their default
+# configuration. Set read permissions for all on uploaded files.
+cp milena/doc/ref-guide.pdf $DEST_DOC && chmod a+r $DEST_DOC/ref-guide.pdf
+cp milena/doc/tutorial.pdf $DEST_DOC && chmod a+r $DEST_DOC/tutorial.pdf
+cp milena/doc/user-refman.pdf $DEST_DOC && chmod a+r $DEST_DOC/user-refman.pdf
+cp milena/doc/white-paper.pdf $DEST_DOC && chmod a+r $DEST_DOC/white-paper.pdf
rm -rf $DEST_DOC/user-refman.tmp
rm -rf $DEST_DOC/white-paper.tmp
--
1.5.6.5
Show replies by date