autodist-cgi: fix showing last log file
This commit is contained in:
parent
3f8d3fb9b2
commit
c6db4b05c9
@ -120,7 +120,7 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
|
|||||||
AUTODISTSTATEFILE="$AUTOPORTLOGDIR/autoport-$r-current"
|
AUTODISTSTATEFILE="$AUTOPORTLOGDIR/autoport-$r-current"
|
||||||
elif [ "${AUTOPORT_NATIVE[$i]}" ]; then
|
elif [ "${AUTOPORT_NATIVE[$i]}" ]; then
|
||||||
LOGFILE="/var/autodist/log/autoport-native-$r-${AUTOPORT_ARCH[$i]}.log"
|
LOGFILE="/var/autodist/log/autoport-native-$r-${AUTOPORT_ARCH[$i]}.log"
|
||||||
LASTLOGFILE="/var/autodist/log/log/autoport-native-$r-${AUTOPORT_ARCH[$i]}-last.log"
|
LASTLOGFILE="/var/autodist/log/autoport-native-$r-${AUTOPORT_ARCH[$i]}-last.log"
|
||||||
AUTODISTLOGFILE="$AUTOPORTLOGDIR/${AUTOPORT_ARCH[$i]}/$r-current.log"
|
AUTODISTLOGFILE="$AUTOPORTLOGDIR/${AUTOPORT_ARCH[$i]}/$r-current.log"
|
||||||
AUTODISTSTATEFILE="$AUTOPORTLOGDIR/autoport-$r-current"
|
AUTODISTSTATEFILE="$AUTOPORTLOGDIR/autoport-$r-current"
|
||||||
elif [ "${AUTOPORT_CROSS[$i]}" ]; then
|
elif [ "${AUTOPORT_CROSS[$i]}" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user