autoport cron: remove some empty lines added to log file
This commit is contained in:
parent
6e2a4ded8c
commit
c9da095026
@ -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
|
$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
|
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
|
cat /var/autoport/$a/home/${AUTOPORT_CHROOT_USER[$i]}/.autoport/${AUTOPORT_ARCH[$i]}/log >> $LOGFILE
|
||||||
echo >> $LOGFILE
|
|
||||||
done
|
done
|
||||||
#$local_ftp/$r/autoport-$a.log
|
#$local_ftp/$r/autoport-$a.log
|
||||||
fi
|
fi
|
||||||
@ -91,7 +90,6 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
|
|||||||
echo "= Working on $r($a) in native mode" >> $LOGFILE
|
echo "= Working on $r($a) in native mode" >> $LOGFILE
|
||||||
su -l autodist -c "autoport -b -r $r" >> $LOGFILE
|
su -l autodist -c "autoport -b -r $r" >> $LOGFILE
|
||||||
cat /var/autodist/.autoport/$a/log >> $LOGFILE
|
cat /var/autodist/.autoport/$a/log >> $LOGFILE
|
||||||
echo >> $LOGFILE
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -102,7 +100,6 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
|
|||||||
echo "= Working on $r($a) in cross-platform mode" >> $LOGFILE
|
echo "= Working on $r($a) in cross-platform mode" >> $LOGFILE
|
||||||
su -l autodist -c "autoport -b -x $a -r $r" >> $LOGFILE
|
su -l autodist -c "autoport -b -x $a -r $r" >> $LOGFILE
|
||||||
cat /var/autodist/.autoport/$a/log >> $LOGFILE
|
cat /var/autodist/.autoport/$a/log >> $LOGFILE
|
||||||
echo >> $LOGFILE
|
|
||||||
# $local_ftp/$r/autoport-$a.log
|
# $local_ftp/$r/autoport-$a.log
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user