Commit 805d5364 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files Call chmod before copying files.

git-svn-id: 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 273ac7c0
2009-07-09 Guillaume Lazzara <>
* Call chmod before copying files.
2009-07-08 Guillaume Lazzara <>
Improve script.
- Prune old tarballs.
- Append the current date to the tarball name.
......@@ -7,8 +7,8 @@ set -e
set -x
# Retrieve the package version
VERSION=`autoconf --trace='AC_INIT:$2'`
......@@ -41,6 +41,11 @@ mkdir -p $DEST_DOC
rm -rf $DEST_DOC/user_doc.tmp
rm -rf $DEST_DOC/white_paper_html.tmp
# Dist check set umask to 077. Restoring permissions for all
chmod -R a+rx milena/doc/user
chmod -R a+rx milena/doc/white_paper
cp -pR milena/doc/user/html $DEST_DOC/user_doc.tmp
cp -pR milena/doc/white_paper/white_paper_html $DEST_DOC/white_paper_html.tmp
......@@ -48,7 +53,6 @@ cp milena/doc/ref_guide/ref_guide.pdf $DEST_DOC/
cp milena/doc/tutorial/tutorial.pdf $DEST_DOC/
cp milena/doc/user/latex/refman.pdf $DEST_DOC/user_doc.pdf
cp milena/doc/white_paper/white_paper.pdf $DEST_DOC/
chmod -R a+rX $DEST_DOC/
mv -f $DEST_DOC/user_doc $DEST_DOC/user_doc.old || true
mv -f $DEST_DOC/white_paper_html $DEST_DOC/white_paper_html.old || true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment