Compare commits

..
2 Commits
+5 -8
View File
@@ -53,28 +53,25 @@ log () {
# Always produce a log file in the destination folder # Always produce a log file in the destination folder
finish () { finish () {
date > $TMPDATE
log_file $TMPDATE
if [ -f $LOG ] if [ -f $LOG ]
then then
echo "Moving log file to $LOG $PUBLIC_WWW/" echo "Moving log.txt file to $LOG $PUBLIC_WWW/"
mv -v $LOG "$PUBLIC_WWW/" mv -Z -v $LOG "$PUBLIC_WWW/"
fi fi
if [ -f $TMPLOG ] if [ -f $TMPLOG ]
then then
rm -v $TMPLOG rm $TMPLOG
fi fi
if [ -f $TMPERR ] if [ -f $TMPERR ]
then then
rm -v $TMPERR rm $TMPERR
fi fi
if [ -f $TMPDATE ] if [ -f $TMPDATE ]
then then
rm -v $TMPDATE rm $TMPDATE
fi fi