Commit c260d597 authored by Roland Levillain's avatar Roland Levillain
Browse files

Improve lrde-upload.sh.

	* lrde-upload.sh: Be more robust to cases of missing files.
parent 7b351eca
2010-04-27 Roland Levillain <roland@lrde.epita.fr>
Improve lrde-upload.sh.
* lrde-upload.sh: Be more robust to cases of missing files.
2010-04-26 Roland Levillain <roland@lrde.epita.fr>
Update lrde-upload.sh.
......
......@@ -51,8 +51,14 @@ chmod -R a+rX milena/doc/white-paper
cp -pR milena/doc/user-refman $DEST_DOC/user-refman.tmp
cp -pR milena/doc/white-paper $DEST_DOC/white-paper.tmp
mv -f $DEST_DOC/user-refman $DEST_DOC/user-refman.old
mv -f $DEST_DOC/white-paper $DEST_DOC/white-paper.old
if test -e $DEST_DOC/user-refman; then
rm -rf $DEST_DOC/user-refman.old
mv -f $DEST_DOC/user-refman $DEST_DOC/user-refman.old
fi
if test -e $DEST_DOC/white-paper; then
rm -rf $DEST_DOC/white-paper.old
mv -f $DEST_DOC/white-paper $DEST_DOC/white-paper.old
fi
mv -f $DEST_DOC/user-refman.tmp $DEST_DOC/user-refman
mv -f $DEST_DOC/white-paper.tmp $DEST_DOC/white-paper
......
Markdown is supported
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