autoport cron: remove some empty lines added to log file

This commit is contained in:
Silvan Calarco 2012-05-26 13:29:20 +02:00
parent 6e2a4ded8c
commit c9da095026

View File

@ -76,7 +76,6 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
$CMD_PREFIX /usr/sbin/chroot /var/autoport/$a su -l ${AUTOPORT_CHROOT_USER[$i]} -c "autoport -b -r $r" >> $LOGFILE
mv /var/autoport/$a/sbin/service.autoport /var/autoport/$a/sbin/service
cat /var/autoport/$a/home/${AUTOPORT_CHROOT_USER[$i]}/.autoport/${AUTOPORT_ARCH[$i]}/log >> $LOGFILE
echo >> $LOGFILE
done
#$local_ftp/$r/autoport-$a.log
fi
@ -91,7 +90,6 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
echo "= Working on $r($a) in native mode" >> $LOGFILE
su -l autodist -c "autoport -b -r $r" >> $LOGFILE
cat /var/autodist/.autoport/$a/log >> $LOGFILE
echo >> $LOGFILE
done
fi
@ -102,7 +100,6 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
echo "= Working on $r($a) in cross-platform mode" >> $LOGFILE
su -l autodist -c "autoport -b -x $a -r $r" >> $LOGFILE
cat /var/autodist/.autoport/$a/log >> $LOGFILE
echo >> $LOGFILE
# $local_ftp/$r/autoport-$a.log
done
fi